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
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.