CPython <3.16 CPU DoS via Unterminated Markup in html.parser.HTMLParser
CVE-2026-15308 Published on July 9, 2026
Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
The incremental HTML parser (html.parser.HTMLParser) allows for CPU
denial-of-service through repeated unterminated markup declarations when
processing uncontrolled data.
Weakness Type
What is a Resource Exhaustion Vulnerability?
The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.
CVE-2026-15308 has been classified to as a Resource Exhaustion vulnerability or weakness.
Products Associated with CVE-2026-15308
Want to know whenever a new CVE is published for Cpython? stack.watch will email you.
Affected Versions
Python Software Foundation CPython:- Before 3.15.0 is affected.