PatchSiren cyber security CVE debrief
CVE-2026-15308 Python Software Foundation CVE debrief
CVE-2026-15308 is a HIGH severity vulnerability in Python's incremental HTML parser. The vulnerability allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data. The CVSS score for this vulnerability is 8.7. This vulnerability affects users of Python, especially those processing uncontrolled data with the incremental HTML parser. The vulnerability has a significant impact on the security of Python applications, and users should take steps to mitigate it.
- Vendor
- Python Software Foundation
- Product
- CPython
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-09
- Original CVE updated
- 2026-08-20
- Advisory published
- 2026-07-09
- Advisory updated
- 2026-08-20
Who should care
Users of Python, especially those processing uncontrolled data with the incremental HTML parser, should be aware of this vulnerability and take steps to mitigate it. This includes applying patches, restricting input to the HTML parser, and monitoring for unusual CPU usage patterns that may indicate exploitation attempts. Additionally, users should review their Python installations and update them to the latest version.
Technical summary
The incremental HTML parser (html.parser.HTMLParser) in Python allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data. This vulnerability has a CVSS score of 8.7 and is classified as HIGH severity. The vulnerability is caused by the parser's inability to handle unterminated markup declarations, which can lead to a denial-of-service attack. The vulnerability affects Python applications that use the incremental HTML parser to process uncontrolled data.
Defensive priority
High priority should be given to patching this vulnerability, especially in environments where uncontrolled data is processed with the incremental HTML parser. This vulnerability has a significant impact on the security of Python applications, and users should take steps to mitigate it as soon as possible.
Recommended defensive actions
- Apply patches from Python
- Restrict input to the HTML parser to prevent unterminated markup declarations
- Monitor for unusual CPU usage patterns that may indicate exploitation attempts
- Consider implementing compensating controls such as rate limiting or IP blocking
- Inventory and update affected Python installations
- Review and update security configurations for Python applications
- Implement additional monitoring and logging to detect potential exploitation attempts
Evidence notes
The CVE record was published on 2026-07-09T17:16:58.260Z and was last modified on 2026-07-10T20:07:52.327Z. The NVD entry is currently Analyzed. This vulnerability affects Python's incremental HTML parser, which is used to process uncontrolled data. The vulnerability allows for CPU denial-of-service through repeated unterminated markup declarations. The source confidence is limited, and defenders should verify the affected scope and severity. The CVE record was obtained from the NVD, and its accuracy is dependent on the information provided by the source.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-15308 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-15308
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-15308 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-15308
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/07efb08123ba9367a7107325adb9d5626dca1ca9
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/7933f4bf7131aa4140750f9404f5de0aa2969ced
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/python/cpython/commit/e9f92ac0b298292e7ff998e52cb8ccacfb27a0bd
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/python/cpython/issues/153030
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/python/cpython/pull/153031
[email protected] - Issue Tracking, Patch
-
Source reference
Unverified legacy reference
URL: https://mail.python.org/archives/list/[email protected]/thread/F6453LWKSHKCTWFLCOURWPLETNUIW2Z5/
[email protected] - Mailing List
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.