The Wayback Machine - https://web.archive.org/web/20250516124001/https://github.com/python/cpython/issues/133767
Skip to content

Use-after-free in unicode_escape decoder with error handler #133767

Open
@sethmlarson

Description

@sethmlarson

Crash report

What happened?

When using .decode("unicode_escape") with an error handler there is a use-after-free segfault.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Output from running 'python -VV' on the command line:

No response

Linked PRs

Metadata

Metadata

Labels

3.10only security fixes3.11only security fixes3.12only security fixes3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixes3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)release-blockertopic-unicodetype-crashA hard crash of the interpreter, possibly with a core dumptype-securityA security issue

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions