CVE-2025-6069: HTMLParser quadratic complexity when processing malformed inputs
HTMLParser quadratic complexity when processing malformed inputs
Other sources
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.9.19-14 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.12.9-3 - Upgrade
Upgrade
debian/jythonto a version that resolves this vulnerability.Fixed in 2.7.4-1 - Upgrade
Upgrade
debian/pypy3to a version that resolves this vulnerability.Fixed in 7.3.21+dfsg-1 - Upgrade
Upgrade
debian/python3.11to a version that resolves this vulnerability.Fixed in 3.11.2-6+deb12u7 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.5-2+deb13u1 - Upgrade
Upgrade
debian/pypy3to a version that resolves this vulnerability.Fixed in 8.0.1+dfsg-1 - Upgrade
Upgrade
debian/python3.11to a version that resolves this vulnerability.Fixed in 3.11.2-6+deb12u8Fixed in 3.11.2-6+deb12u9 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.5-2+deb13u5Fixed in 3.13.18-1 - Upgrade
Upgrade
ubuntu/python3.4to a version that resolves this vulnerability.Fixed in 3.4.3-1ubuntu1~14.04.7+esm16 - Upgrade
Upgrade
ubuntu/python3.5to a version that resolves this vulnerability.Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7 - Upgrade
Upgrade
ubuntu/python3.5to a version that resolves this vulnerability.Fixed in 3.5.2-2ubuntu0~16.04.13+esm19 - Upgrade
Upgrade
ubuntu/python3.6to a version that resolves this vulnerability.Fixed in 3.6.9-1~18.04ubuntu1.13+esm6 - Upgrade
Upgrade
ubuntu/python3.7to a version that resolves this vulnerability.Fixed in 3.7.5-2ubuntu1~18.04.2+esm7 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.0-3ubuntu1~18.04.2+esm6 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.10-0ubuntu1~20.04.18+esm2 - Upgrade
Upgrade
ubuntu/python3.9to a version that resolves this vulnerability.Fixed in 3.9.5-3ubuntu0~20.04.1+esm6 - Upgrade
Upgrade
ubuntu/python3.10to a version that resolves this vulnerability.Fixed in 3.10.12-1~22.04.11 - Upgrade
Upgrade
ubuntu/python3.11to a version that resolves this vulnerability.Fixed in 3.11.0~rc1-1~22.04.1~esm5 - Upgrade
Upgrade
ubuntu/python3.12to a version that resolves this vulnerability.Fixed in 3.12.3-1ubuntu0.8 - Upgrade
Upgrade
ubuntu/python3.13to a version that resolves this vulnerability.Fixed in 3.13.6-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-6069?
CVE-2025-6069 is a denial-of-service vulnerability with potential for severe impact due to its quadratic complexity when processing malformed inputs.
How can I fix CVE-2025-6069?
To fix CVE-2025-6069, update to the latest version of the Python html.parser library where the vulnerability has been addressed.
What kind of attacks does CVE-2025-6069 enable?
CVE-2025-6069 enables denial-of-service attacks by allowing crafted inputs to cause excessive processing time.
Which software is affected by CVE-2025-6069?
CVE-2025-6069 specifically affects the Python html.parser class.
What are the potential consequences of CVE-2025-6069?
The consequences of CVE-2025-6069 include application crashes and unavailability due to resource exhaustion.