# CVE-2025-6069: HTMLParser quadratic complexity when processing malformed inputs

- Severity: Medium 4.3 (CVSS:3.1, scored by PSF) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2025-06-17T13:39:46.000Z
- Modified: 2026-07-31T14:16:45.130Z
- Also known as: PSF-2025-10, BIT-LIBPYTHON-2025-6069, BIT-PYTHON-2025-6069, BIT-PYTHON-MIN-2025-6069
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## Description

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

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.9.24; from 3.10.0 before 3.10.19; from 3.11.0 before 3.11.14; from 3.12.0 before 3.12.12; from 3.13.0 before 3.13.6; from 3.14.0a1 before 3.14.0b3
- https://github.com/python/cpython: before 4455cbabf991e202185a25a631af206f60bbc949; before 6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41; before d851f8e258c7328814943e923a7df81bca15df4b; before 8d1b3dfa09135affbbf27fb8babcf3c11415df49; before ab0893fd5c579d9cea30841680e6d35fc478afb5; before f3c6f882cddc8dc30320d2e73edf019e201394fc; before fdc9d214c01cb4588f540cfa03726bbf2a33fc15
- libpython (Bitnami): before 3.9.24; from 3.10.0 before 3.10.19; from 3.11.0 before 3.11.14; from 3.12.0 before 3.12.12; from 3.13.0 before 3.13.6
- python (Bitnami): before 3.9.24; from 3.10.0 before 3.10.19; from 3.11.0 before 3.11.14; from 3.12.0 before 3.12.12; from 3.13.0 before 3.13.6
- python-min (Bitnami): before 3.9.24; from 3.10.0 before 3.10.19; from 3.11.0 before 3.11.14; from 3.12.0 before 3.12.12; from 3.13.0 before 3.13.6

## Every score

- PSF: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python/cpython/issues/135462> (issue-tracking, report, web)
- <https://github.com/python/cpython/pull/135464> (patch, web)
- <https://github.com/python/cpython/commit/4455cbabf991e202185a25a631af206f60bbc949> (fix, patch, web)
- <https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41> (fix, patch, web)
- <https://github.com/python/cpython/commit/d851f8e258c7328814943e923a7df81bca15df4b> (fix, patch, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/K5PIYLR6EP3WR7ZOKKYQUWEDNQVUXOYM/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/commit/8d1b3dfa09135affbbf27fb8babcf3c11415df49> (fix, patch, web)
- <https://github.com/python/cpython/commit/ab0893fd5c579d9cea30841680e6d35fc478afb5> (fix, patch, web)
- <https://github.com/python/cpython/commit/f3c6f882cddc8dc30320d2e73edf019e201394fc> (fix, patch, web)
- <https://github.com/python/cpython/commit/fdc9d214c01cb4588f540cfa03726bbf2a33fc15> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6069> (web)

## Sources

- CVE List: [CVE-2025-6069](https://www.cve.org/CVERecord?id=CVE-2025-6069), CVE Terms of Use, modified 2026-07-31
- Python Software Foundation: [PSF-2025-10](https://osv.dev/vulnerability/PSF-2025-10), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2025-6069](https://nvd.nist.gov/vuln/detail/CVE-2025-6069), Public domain, modified 2026-07-31
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2025-6069](https://osv.dev/vulnerability/BIT-LIBPYTHON-2025-6069), Apache-2.0, modified 2025-10-10
- Bitnami Vulnerability Database: [BIT-PYTHON-2025-6069](https://osv.dev/vulnerability/BIT-PYTHON-2025-6069), Apache-2.0, modified 2025-10-10
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2025-6069](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2025-6069), Apache-2.0, modified 2025-10-10

---

Page: https://cve.day/CVE-2025-6069 · Whole record: https://cve.day/CVE-2025-6069.json · Rebuilt by cve.day 2026-11-25T22:58:59.287Z
