CVE-2025-6069

published 17 Jun 2025 · updated 16 Nov 2026

HTMLParser quadratic complexity when processing malformed inputs

4.3MediumCVSS 4.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.9.24, 3.10.19, 3.11.14 and 3 more.

The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.9.24, >=3.10.0 <3.10.19, >=3.11.0 <3.11.14, >=3.12.0 <3.12.12, >=3.13.0 <3.13.6, >=3.14.0a1 <3.14.0b33.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.6, 3.14.0b3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6069 severity on Zeptric[![CVE-2025-6069](https://zeptric.io/badge/cve/CVE-2025-6069.svg)](https://zeptric.io/cve/CVE-2025-6069)