CVE
CVE-2025-6069
published medium CVSS 3.1 · 4.3HTMLParser quadratic complexity when processing malformed inputs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.9.24 · 3.10.0 to < 3.10.19 · 3.11.0 to < 3.11.14 · 3.12.0 to < 3.12.12 · 3.13.0 to < 3.13.6 · 3.14.0a1 to < 3.14.0b3 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2911 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2923 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1056 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1090 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1116 | Fixed | Not stated | Amazon Linux assessment |
Description
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.9.24 (affected · python)3.10.0 to < 3.10.19 (affected · python)3.11.0 to < 3.11.14 (affected · python)3.12.0 to < 3.12.12 (affected · python)3.13.0 to < 3.13.6 (affected · python)3.14.0a1 to < 3.14.0b3 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
10- https://github.com/python/cpython/commit/4455cbabf991e202185a25a631af206f60bbc949
- https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41
- https://github.com/python/cpython/commit/8d1b3dfa09135affbbf27fb8babcf3c11415df49
- https://github.com/python/cpython/commit/ab0893fd5c579d9cea30841680e6d35fc478afb5
- https://github.com/python/cpython/commit/d851f8e258c7328814943e923a7df81bca15df4b
- https://github.com/python/cpython/commit/f3c6f882cddc8dc30320d2e73edf019e201394fc
- https://github.com/python/cpython/commit/fdc9d214c01cb4588f540cfa03726bbf2a33fc15
- https://github.com/python/cpython/issues/135462
- https://github.com/python/cpython/pull/135464
- https://mail.python.org/archives/list/[email protected]/thread/K5PIYLR6EP3WR7ZOKKYQUWEDNQVUXOYM/
Provider assertions
2PSF · cna
HTMLParser quadratic complexity when processing malformed inputs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c1e876f0832a02031bd0461be79a5dcd629ac40c300aa13365f78016d480953
- Ingested
- 23 Sep 2026, 08:57:29 UTC
- Source record
- Official CVE record