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

High 8.7 Published Updated

Attackers can cause CPU exhaustion and denial of service in applications using Python's HTMLParser by sending repeated unterminated markup declarations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-15308?

CVE-2026-15308 is a high-severity denial of service vulnerability in Python Python, published on 9 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-400

Which versions are affected by CVE-2026-15308?

3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.

PackageAffectedFixed in
libpython BitnamiAll versions3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7
python BitnamiAll versions3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7
python-min BitnamiAll versions3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7
Linux distribution packages (37)
python-unversioned-command AlmaLinux:10All versions3.12.13-2.el10_2.1
python3 AlmaLinux:10All versions3.12.13-2.el10_2.1
python3-debug AlmaLinux:10All versions3.12.13-2.el10_2.1
python3-devel AlmaLinux:10All versions3.12.13-2.el10_2.1
python3-idle AlmaLinux:10All versions3.12.13-2.el10_2.1
python3-libs AlmaLinux:10All versions3.12.13-2.el10_2.1
python3-test AlmaLinux:10All versions3.12.13-2.el10_2.1
python3-tkinter AlmaLinux:10All versions3.12.13-2.el10_2.1
python3.14 AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-debug AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-devel AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading-debug AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading-devel AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading-idle AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading-libs AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading-test AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-freethreading-tkinter AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-idle AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-libs AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-test AlmaLinux:10All versions3.14.5-1.el10_2.1
python3.14-tkinter AlmaLinux:10All versions3.14.5-1.el10_2.1
platform-python AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
platform-python-debug AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
platform-python-devel AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
python3-idle AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
python3-libs AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
python3-test AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
python3-tkinter AlmaLinux:8All versions3.6.8-77.el8_10.alma.1
python3.12 AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-debug AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-devel AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-idle AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-libs AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-rpm-macros AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-test AlmaLinux:8All versions3.12.13-3.el8_10
python3.12-tkinter AlmaLinux:8All versions3.12.13-3.el8_10

Products include Python Python.

How do I fix CVE-2026-15308?

Upgrade libpython to a fixed version for your release line: 3.10.21, 3.11.16, 3.12.14 or 3.13.15.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-15308 being exploited?

There is no known exploitation of CVE-2026-15308 in the wild and no public exploit code.

All Python Python vulnerabilities

Sources

Also known as ALPINE-CVE-2026-15308, ALSA-2026:39183, ALSA-2026:39320, ALSA-2026:39771, ALSA-2026:39798, ALSA-2026:39893 and 69 more.

Is CVE-2026-15308 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free