CVE-2026-15308

Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations

Published Jul 9, 2026 CVSS 4.0 · 8.7 High EPSS 1.3% KEV · Not listed
Description
The incremental HTML parser (html.parser.HTMLParser) allows for CPU
denial-of-service through repeated unterminated markup declarations when
processing uncontrolled data.

Analysis

AI-generated

Technical 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 vector is inferred from the description: any application that uses CPython’s HTMLParser to process untrusted or malformed markup may trigger the flaw. No special permissions are required; the exploit merely entails feeding the parser a long string of unterminated declarations to keep the interpreter busy.

Remediation

No solution or workaround provided in the CVE record.

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 August 12, 2026 at 01:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4827-1 python3.11 security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*
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

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython
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'}

Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PSF
Published
Updated
Nov 10, 2026, 12:40 PM
Reserved
Jul 9, 2026, 5:04 PM
Status
Modified
Published
Jul 9, 2026, 5:16 PM
Modified
Nov 10, 2026, 1:18 PM
Severity
Important
Public date
Jul 9, 2026, 5:10 PM