Description
The incremental HTML parser (html.parser.HTMLParser) allows for CPU
denial-of-service through repeated unterminated markup declarations when
processing uncontrolled data.
Published: 2026-07-09
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The CPython incremental HTML parser can be fed repeated unterminated markup declarations, causing unchecked loops that consume CPU resources and lead to denial of service. This flaw is identified as uncontrolled resource consumption (CWE‑400) and uncontrolled loop (CWE‑835).

Affected Systems

The affected vendor is the Python Software Foundation, product CPython. All releases that include the standard html.parser module and process untrusted or user‑supplied markup may be vulnerable, as the CVE data does not list specific versions.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as high‑severity, indicating a significant impact on availability. While the EPSS score is below 1 % and the vulnerability is not in CISA’s KEV catalog, the attack can be triggered from any application that uses CPython’s HTMLParser to process malformed markup. No special permissions are required; the exploit merely entails feeding the parser a long string of unterminated declarations to keep the interpreter busy.

Generated by OpenCVE AI on July 26, 2026 at 15:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update CPython to a release that incorporates the upstream commit fixing the resource exhaustion bug
  • If a quick update is not feasible, limit the size of data fed to html.parser or sanitize input to remove unterminated declarations before parsing
  • Replace CPython’s html.parser with a more robust parser implementation or add application‑level safeguards to detect and abort long‑running parsing loops

Generated by OpenCVE AI on July 26, 2026 at 15:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Thu, 09 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython

Thu, 09 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV4_0

{'score': 10, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Thu, 09 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 09 Jul 2026 18:00:00 +0000


Thu, 09 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
Description The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
Title Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 10, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published:

Updated: 2026-07-23T18:46:29.182Z

Reserved: 2026-07-09T17:04:11.926Z

Link: CVE-2026-15308

cve-icon Vulnrichment

Updated: 2026-07-09T19:32:36.790Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-09T17:10:57Z

Links: CVE-2026-15308 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T15:15:03Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')