CVE-2025-6069
Python Interpreter vulnerability analysis and mitigation

Overview

CVE-2025-6069 affects the html.parser.HTMLParser class in Python's standard library, discovered and disclosed on June 13, 2025. The vulnerability involves a worst-case quadratic complexity issue when processing certain crafted malformed HTML inputs. The Python Software Foundation assigned it a CVSS v3.1 base score of 4.3 (MEDIUM) (Wiz Report, Python CVE).

Technical details

The vulnerability exists in the HTMLParser class when processing malformed HTML inputs, where the parser's behavior could lead to excessive processing time. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L, indicating network accessibility with low attack complexity and privileged access required. Test cases that previously took about an hour to process now take a fraction of a second after the fix, demonstrating the significant performance impact of the vulnerability (Python Issue, Python PR).

Impact

The vulnerability can potentially lead to amplified denial-of-service conditions. The processing time difference between patched and unpatched versions is significant, with test cases showing a reduction from approximately one hour to a fraction of a second after applying the fix (Wiz Report).

Mitigation and workarounds

The issue has been fixed in multiple Python versions through a series of patches. The fix has been backported to Python versions 3.9 through 3.14. Users should update to the patched versions of Python to mitigate this vulnerability (Python Commits).

Additional resources


SourceThis report was generated using AI

Related Python Interpreter vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-4517CRITICAL9.4
  • Rocky LinuxRocky Linux
  • python3-xml
NoYesJun 03, 2025
CVE-2025-49714HIGH7.8
  • Visual Studio CodeVisual Studio Code
  • cpe:2.3:a:microsoft:visual_studio_code
NoYesJul 08, 2025
CVE-2025-8194HIGH7.5
  • Rocky LinuxRocky Linux
  • python39-devel:3.9::python39-setuptools
NoYesJul 28, 2025
CVE-2025-8291MEDIUM4.3
  • Python InterpreterPython Interpreter
  • pypy3
NoNoOct 07, 2025
CVE-2025-6069MEDIUM4.3
  • Python InterpreterPython Interpreter
  • mingw64-python3
NoYesJun 17, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management