{"id":"CVE-2025-6069","state":"PUBLISHED","title":"HTMLParser quadratic complexity when processing malformed inputs","description":"The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.","publishedAt":"2025-06-17T13:39:46.058Z","updatedAt":"2026-07-31T14:01:47.064Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"PSF"},"assigner":"PSF","products":["Python Software Foundation CPython"],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.9.24","versionType":"python"},{"version":"3.10.0","status":"affected","lessThan":"3.10.19","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.14","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.12","versionType":"python"},{"version":"3.13.0","status":"affected","lessThan":"3.13.6","versionType":"python"},{"version":"3.14.0a1","status":"affected","lessThan":"3.14.0b3","versionType":"python"}],"modules":["html.parser"],"repo":"https://github.com/python/cpython"}],"references":["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"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6069.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-6069","state":"PUBLISHED","datePublished":"2025-06-17T13:39:46.058Z","dateUpdated":"2026-07-31T14:01:47.064Z","assignerShortName":"PSF","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateReserved":"2025-06-13T14:05:15.473Z"},"containers":{"cna":{"title":"HTMLParser quadratic complexity when processing malformed inputs","descriptions":[{"lang":"en","value":"The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service."}],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.9.24","versionType":"python"},{"version":"3.10.0","status":"affected","lessThan":"3.10.19","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.14","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.12","versionType":"python"},{"version":"3.13.0","status":"affected","lessThan":"3.13.6","versionType":"python"},{"version":"3.14.0a1","status":"affected","lessThan":"3.14.0b3","versionType":"python"}],"modules":["html.parser"],"repo":"https://github.com/python/cpython"}],"references":[{"url":"https://github.com/python/cpython/issues/135462","tags":["issue-tracking"]},{"url":"https://github.com/python/cpython/pull/135464","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/4455cbabf991e202185a25a631af206f60bbc949","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d851f8e258c7328814943e923a7df81bca15df4b","tags":["patch"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/K5PIYLR6EP3WR7ZOKKYQUWEDNQVUXOYM/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/8d1b3dfa09135affbbf27fb8babcf3c11415df49","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/ab0893fd5c579d9cea30841680e6d35fc478afb5","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/f3c6f882cddc8dc30320d2e73edf019e201394fc","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/fdc9d214c01cb4588f540cfa03726bbf2a33fc15","tags":["patch"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"CWE-1333 Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"PSF","orgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateUpdated":"2026-07-31T14:01:47.064Z"},"credits":[{"lang":"en","type":"remediation developer","value":"Serhiy Storchaka"},{"lang":"en","type":"reporter","value":"Jake Howard"},{"lang":"en","type":"finder","value":"sw0rd1ight"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-17T13:58:28.646020Z","id":"CVE-2025-6069","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-17T13:58:41.637Z"}}]}}}