CVE-2025-6069
Vulnerability Summary
Timeline
Description
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.
CVSS Metrics
- v3.1•MEDIUM•Score: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS Trends
Current EPSS score: 0.59%• Percentile: 47%
Techniques & Countermeasures
- CWE-1333•Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Affected Systems
- chainguard•python-3.10
< 3.10.18-r1
- chainguard•python-3.11
< 3.11.13-r1
- chainguard•python-3.12
< 3.12.11-r1
- chainguard•python-3.13
< 3.13.5-r1
- chainguard•python-3.9
< 3.9.23-r1
- wolfi•python-3.10
< 3.10.18-r1
- wolfi•python-3.11
< 3.11.13-r1
- wolfi•python-3.12
< 3.12.11-r1
- wolfi•python-3.13
< 3.13.5-r1
- debian•jython
all | all | all | all
- debian•pypy3
< 7.3.5+dfsg-2+deb11u5 | all | all | < 7.3.21+dfsg-1
- debian•python2.7
all
- debian•python3.11
< 3.11.2-6+deb12u7
- debian•python3.13
< 3.13.5-2+deb13u1 | < 3.13.6-1
- debian•python3.9
< 3.9.2-1+deb11u4
- ubuntu•jython
all | all | all | all | all | all | all
- ubuntu•python2.7
all
- ubuntu•python3.10
< 3.10.12-1~22.04.11
- ubuntu•python3.11
< 3.11.0~rc1-1~22.04.1~esm5
- ubuntu•python3.12
< 3.12.3-1ubuntu0.8
- ubuntu•python3.13
< 3.13.6-1
- ubuntu•python3.4
< 3.4.3-1ubuntu1~14.04.7+esm16
- ubuntu•python3.5
< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7 | < 3.5.2-2ubuntu0~16.04.13+esm19
- ubuntu•python3.6
< 3.6.9-1~18.04ubuntu1.13+esm6
- ubuntu•python3.7
< 3.7.5-2ubuntu1~18.04.2+esm7
- ubuntu•python3.8
< 3.8.0-3ubuntu1~18.04.2+esm6 | < 3.8.10-0ubuntu1~20.04.18+esm2
- ubuntu•python3.9
< 3.9.5-3ubuntu0~20.04.1+esm6
- python software foundation•cpython
< 3.10.19 | < 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.0b3
References (17)
- https://github.com/python/cpython/issues/135462
- https://github.com/python/cpython/pull/135464
- https://github.com/python/cpython/commit/4455cbabf991e202185a25a631af206f60bbc949
- https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41
- https://github.com/python/cpython/commit/d851f8e258c7328814943e923a7df81bca15df4b
- https://mail.python.org/archives/list/security-announce@python.org/thread/K5PIYLR6EP3WR7ZOKKYQUWEDNQVUXOYM/
- https://github.com/python/cpython/commit/8d1b3dfa09135affbbf27fb8babcf3c11415df49
- https://github.com/python/cpython/commit/ab0893fd5c579d9cea30841680e6d35fc478afb5
- https://github.com/python/cpython/commit/f3c6f882cddc8dc30320d2e73edf019e201394fc
- https://github.com/python/cpython/commit/fdc9d214c01cb4588f540cfa03726bbf2a33fc15
- https://ubuntu.com/security/CVE-2025-6069
- https://www.cve.org/CVERecord?id=CVE-2025-6069
- https://ubuntu.com/security/notices/USN-7710-1
- https://security-tracker.debian.org/tracker/CVE-2025-6069
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6069.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-6069
- https://github.com/python/cpython