BIT-python-2025-6069: HTMLParser quadratic complexity when processing malformed inputs
Published Jun 17, 2025
·Updated
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.
Affected Software
1 affected component
Python Software Foundation Python html.parser.HTMLParser
Event History
Jun 17, 2025
CVE Published
via OSV·01:39 PM
Data Sourced
via OSV·01:39 PM
DescriptionSeverityWeakness
Frequently Asked Questions
1
What access does an attacker need to exploit this issue?
The CVSS vector indicates network access and low privileges are required. No user interaction is required.
2
Which deployments are most likely to be exposed?
Deployments that use html.parser.HTMLParser to process malformed HTML supplied or influenced by an attacker are the relevant exposure scenario. The impact described is amplified denial of service through excessive processing time.