CVE-2025-4516
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rocky | 8 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
References
- https://errata.rockylinux.org/RLSA-2025:23530
- https://www.suse.com/security/cve/CVE-2025-4516.html
- https://security-tracker.debian.org/tracker/CVE-2025-4516
- https://access.redhat.com/errata/RHSA-2025:23530
- https://bugzilla.redhat.com/2294682
- https://bugzilla.redhat.com/2321440
- https://bugzilla.redhat.com/2325776
- https://bugzilla.redhat.com/2343237
- https://bugzilla.redhat.com/2366509
- https://bugzilla.redhat.com/2370010
- https://bugzilla.redhat.com/2370014
- https://bugzilla.redhat.com/2370016
- https://bugzilla.redhat.com/2372426
- https://bugzilla.redhat.com/2373234
- https://bugzilla.redhat.com/2402342
- https://bugzilla.redhat.com/2408891
- https://errata.almalinux.org/8/ALSA-2025-23530.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.