CVE-2026-15308: Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
Other sources
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
azurelinux/python3to a version that resolves this vulnerability.Fixed in 3.12.14-1 - Upgrade
Upgrade
debian/python3.11to a version that resolves this vulnerability.Fixed in 3.11.2-6+deb12u9 - Upgrade
Upgrade
debian/python3.14to a version that resolves this vulnerability.Fixed in 3.14.7-1 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.15-1 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.6-8ubuntu0.6+esm30 - Upgrade
Upgrade
ubuntu/python3.4to a version that resolves this vulnerability.Fixed in 3.4.3-1ubuntu1~14.04.7+esm21 - Upgrade
Upgrade
ubuntu/python3.5to a version that resolves this vulnerability.Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm11 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.12-1ubuntu0~16.04.18+esm22 - Upgrade
Upgrade
ubuntu/python3.5to a version that resolves this vulnerability.Fixed in 3.5.2-2ubuntu0~16.04.13+esm25 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.17-1~18.04ubuntu1.13+esm15 - Upgrade
Upgrade
ubuntu/python3.6to a version that resolves this vulnerability.Fixed in 3.6.9-1~18.04ubuntu1.13+esm10 - Upgrade
Upgrade
ubuntu/python3.7to a version that resolves this vulnerability.Fixed in 3.7.5-2ubuntu1~18.04.2+esm11 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.0-3ubuntu1~18.04.2+esm11 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.10-0ubuntu1~20.04.18+esm7 - Upgrade
Upgrade
ubuntu/python3.9to a version that resolves this vulnerability.Fixed in 3.9.5-3ubuntu0~20.04.1+esm11 - Upgrade
Upgrade
ubuntu/python3.10to a version that resolves this vulnerability.Fixed in 3.10.12-1~22.04.18 - Upgrade
Upgrade
ubuntu/python2.7to a version that resolves this vulnerability.Fixed in 2.7.18-13ubuntu1.5+esm9 - Upgrade
Upgrade
ubuntu/python3.11to a version that resolves this vulnerability.Fixed in 3.11.0~rc1-1~22.04.1+esm2 - Upgrade
Upgrade
ubuntu/python3.12to a version that resolves this vulnerability.Fixed in 3.12.3-1ubuntu0.17 - Upgrade
Upgrade
ubuntu/python3.14to a version that resolves this vulnerability.Fixed in 3.14.4-1ubuntu0.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15308?
CVE-2026-15308 has a high severity rating of 8.7.
How do I fix CVE-2026-15308?
To fix CVE-2026-15308, update to the latest version of the Python html.parser module that addresses this vulnerability.
What type of attack does CVE-2026-15308 enable?
CVE-2026-15308 enables a CPU exhaustion denial-of-service (DoS) attack through repeated unterminated markup declarations.
Which software is affected by CVE-2026-15308?
CVE-2026-15308 affects the Python html.parser.HTMLParser module.
When was CVE-2026-15308 published?
CVE-2026-15308 was published on July 9, 2026.