Vulnerability in Python Software Foundation Cpython
CVE-2025-6069
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.006, 50.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Software Foundation Cpython — versions 3.10.0, 0, 3.14.0a1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (cherinejoseph/programmatic-vulnerability-remediations, CKA-codespace/cg-compare, GitHubForSnap/matrix-commander-gael, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/python/cpython/issues/135462 (issue-tracking)
- github.com/python/cpython/pull/135464 (patch)
- github.com/python/cpython/commit/4455cbabf991e202185a25a631af206f60bbc949 (patch)
- github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41 (patch)
- github.com/python/cpython/commit/d851f8e258c7328814943e923a7df81bca15df4b (patch)
- mail.python.org/archives/list/security-announce@python.org/thread/K5PIYLR6EP3WR… (vendor-advisory)
- github.com/python/cpython/commit/8d1b3dfa09135affbbf27fb8babcf3c11415df49 (patch)
- github.com/python/cpython/commit/ab0893fd5c579d9cea30841680e6d35fc478afb5 (patch)
- github.com/python/cpython/commit/f3c6f882cddc8dc30320d2e73edf019e201394fc (patch)
- github.com/python/cpython/commit/fdc9d214c01cb4588f540cfa03726bbf2a33fc15 (patch)