CVE-2025-6069

HTMLParser quadratic complexity when processing malformed inputs

At a glance

Severity
MEDIUM 4.3
EPSS
EPSS 0.60 % · percentile 49 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
PSF
NVD status
Deferred

Description

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

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LPSF
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LNVD · cna@python.org (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected products

ProductVersions
Python Software Foundation · CPythonaffected 0 < 3.9.24 ; affected 3.10.0 < 3.10.19 ; affected 3.11.0 < 3.11.14 ; affected 3.12.0 < 3.12.12 ; affected 3.13.0 < 3.13.6 ; affected 3.14.0a1 < 3.14.0b3

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD