CVE-2026-15308: CWE-400 in Python Software Foundation CPython
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
AI Analysis
Technical Summary
The incremental HTML parser in CPython (html.parser.HTMLParser) is vulnerable to a denial-of-service condition due to repeated unterminated markup declarations. This flaw allows an attacker to cause excessive CPU consumption when parsing maliciously crafted HTML data. The vulnerability is identified as CWE-400 (Uncontrolled Resource Consumption). It affects CPython versions prior to 3.16.0, including 3.15.0a1 and 3.14.0. The CVSS 4.0 base score is 8.7, indicating high severity. No known exploits are reported in the wild, and no official remediation or patch has been announced as of the publication date.
Potential Impact
An attacker can cause a denial-of-service by triggering excessive CPU usage in the CPython HTML parser when processing specially crafted HTML input containing repeated unterminated markup declarations. This can degrade or disrupt service availability for applications using the vulnerable parser.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid processing untrusted HTML data with the incremental HTML parser or implement application-level controls to limit exposure to untrusted input.
CVE-2026-15308: CWE-400 in Python Software Foundation CPython
Description
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The incremental HTML parser in CPython (html.parser.HTMLParser) is vulnerable to a denial-of-service condition due to repeated unterminated markup declarations. This flaw allows an attacker to cause excessive CPU consumption when parsing maliciously crafted HTML data. The vulnerability is identified as CWE-400 (Uncontrolled Resource Consumption). It affects CPython versions prior to 3.16.0, including 3.15.0a1 and 3.14.0. The CVSS 4.0 base score is 8.7, indicating high severity. No known exploits are reported in the wild, and no official remediation or patch has been announced as of the publication date.
Potential Impact
An attacker can cause a denial-of-service by triggering excessive CPU usage in the CPython HTML parser when processing specially crafted HTML input containing repeated unterminated markup declarations. This can degrade or disrupt service availability for applications using the vulnerable parser.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid processing untrusted HTML data with the incremental HTML parser or implement application-level controls to limit exposure to untrusted input.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PSF
- Date Reserved
- 2026-07-09T17:04:11.926Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4fd7da68715ace43c44408
Added to database: 07/09/2026, 17:18:18 UTC
Last enriched: 08/12/2026, 13:41:12 UTC
Last updated: 08/23/2026, 10:52:07 UTC
Views: 234
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.