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

Published Jul 9, 2026
·
Updated

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

Other sources

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

— Red Hat

Affected Software

22 affected componentsFixes available
Python html.parser.HTMLParser
Python Python<3.10.21
Python Python>=3.11.0<3.11.16
Python Python>=3.12.0<3.12.14
Python Python>=3.13.0<3.13.15
Python Python>=3.14.0<3.14.7
Python Python=3.15.0-alpha1
Python Python=3.15.0-alpha2
Python Python=3.15.0-alpha3
Python Python=3.15.0-alpha4
Python Python=3.15.0-alpha5
Python Python=3.15.0-alpha6
Python Python=3.15.0-alpha7
Python Python=3.15.0-alpha8
Python Python=3.15.0-beta1
Python Python=3.15.0-beta2
Python Python=3.15.0-beta3
IBM Observability with Instana (Agent)<=Build 1.0.303 to 1.0.323
Microsoft azl3 python3 3.12.9-14<3.12.14-1
3.12.14-1
debian/python3.11<=3.11.2-6+deb12u8, <=3.11.2-6+deb12u3
debian/python3.13<=3.13.5-2+deb13u5
3.13.15-1
debian/python3.14
3.14.7-33.14.7-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.12.14-1
  2. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.15-1
  3. Upgrade

    Upgrade debian/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.7-3Fixed in 3.14.7-4

Event History

Jul 9, 2026
CVE Published
via MITRE·05:10 PM
Data Sourced
via MITRE·05:10 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software
Jul 12, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Sep 2, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 10, 2026
Data Sourced
via Ubuntu·05:39 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·05:41 PM
Description
Sep 13, 2026
Data Sourced
via Debian·05:44 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-15308?

CVE-2026-15308 has a high severity rating of 8.7.

2

How do I fix CVE-2026-15308?

To fix CVE-2026-15308, update to the latest version of the Python html.parser module that addresses this vulnerability.

3

What type of attack does CVE-2026-15308 enable?

CVE-2026-15308 enables a CPU exhaustion denial-of-service (DoS) attack through repeated unterminated markup declarations.

4

Which software is affected by CVE-2026-15308?

CVE-2026-15308 affects the Python html.parser.HTMLParser module.

5

When was CVE-2026-15308 published?

CVE-2026-15308 was published on July 9, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203