Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-6069: The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service. CVE-2025-4516: 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.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | python3 | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-debug | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-debuginfo | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-devel | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-libs | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-test | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-tkinter | 0:3.7.16-1.amzn2.0.18 |
| Amazon Linux · 2 | python3-tools | 0:3.7.16-1.amzn2.0.18 |
Vulnerabilities 2
-
Medium 5.9
Use-after-free in "unicode_escape" decoder with error handler
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= handle…
-
Medium 4.3
HTMLParser quadratic complexity when processing malformed inputs
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.