CVE Program
CNA-CVE-2026-15308
Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations
Details
The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Python | python | All versions before 3.10.21 (fixed in 3.10.21) From 3.11.0 before 3.11.16 (fixed in 3.11.16) From 3.12.0 before 3.12.14 (fixed in 3.12.14) From 3.13.0 before 3.13.15 (fixed in 3.13.15) From 3.14.0 before 3.14.7 (fixed in 3.14.7) From 3.15.0a1 before 3.15.0b4 (fixed in 3.15.0b4) |
References
- https://www.cve.org/CVERecord?id=CVE-2026-15308
- https://mail.python.org/archives/list/[email protected]/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