Bug 2366509 (CVE-2025-4516) - CVE-2025-4516 cpython: CPython DecodeError Handling Vulnerability
Summary: CVE-2025-4516 cpython: CPython DecodeError Handling Vulnerability
Keywords:
Status: NEW
Alias: CVE-2025-4516
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2366793
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-15 14:01 UTC by OSIDB Bzimport
Modified: 2025-05-16 17:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-15 14:01:35 UTC
There is an issue in CPython when using `bytes.decode("unicode_escape", error="ignore|replace")`. If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError.


Note You need to log in before you can comment on or make changes to this bug.