CVE-2025-6069: CWE-1333 Inefficient Regular Expression Complexity in Python Software Foundation CPython
CVE-2025-6069 is a medium severity vulnerability in the Python Software Foundation's CPython implementation. The html.parser.HTMLParser class exhibits worst-case quadratic time complexity when processing certain crafted malformed inputs, which can lead to an amplified denial-of-service condition. This issue affects specific CPython versions including 3.10.0 through 3.14.0a1. No official patch or fix information is currently available.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2025-6069 involves inefficient regular expression complexity in the html.parser.HTMLParser class of CPython. When processing certain malformed inputs, the parser's algorithm exhibits quadratic time complexity, potentially allowing an attacker to cause a denial-of-service by amplifying resource consumption. This flaw is categorized under CWE-1333 (Inefficient Regular Expression Complexity). The affected versions explicitly include CPython 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, and 3.14.0a1. The CVSS v3.1 base score is 4.3, indicating medium severity, with network attack vector, low attack complexity, requiring low privileges, no user interaction, and impact limited to availability.
Potential Impact
An attacker can exploit this vulnerability by supplying crafted malformed inputs to the html.parser.HTMLParser class, causing the parser to consume excessive CPU resources due to quadratic complexity in regular expression processing. This can lead to denial-of-service conditions by amplifying resource exhaustion. There is no impact on confidentiality or integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, users should consider limiting exposure of services that parse untrusted HTML input or apply other application-level mitigations to reduce the risk of denial-of-service.
CVE-2025-6069: CWE-1333 Inefficient Regular Expression Complexity in Python Software Foundation CPython
Description
CVE-2025-6069 is a medium severity vulnerability in the Python Software Foundation's CPython implementation. The html.parser.HTMLParser class exhibits worst-case quadratic time complexity when processing certain crafted malformed inputs, which can lead to an amplified denial-of-service condition. This issue affects specific CPython versions including 3.10.0 through 3.14.0a1. No official patch or fix information is currently available.
CVSS v3.1
Score 4.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2025-6069 involves inefficient regular expression complexity in the html.parser.HTMLParser class of CPython. When processing certain malformed inputs, the parser's algorithm exhibits quadratic time complexity, potentially allowing an attacker to cause a denial-of-service by amplifying resource consumption. This flaw is categorized under CWE-1333 (Inefficient Regular Expression Complexity). The affected versions explicitly include CPython 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, and 3.14.0a1. The CVSS v3.1 base score is 4.3, indicating medium severity, with network attack vector, low attack complexity, requiring low privileges, no user interaction, and impact limited to availability.
Potential Impact
An attacker can exploit this vulnerability by supplying crafted malformed inputs to the html.parser.HTMLParser class, causing the parser to consume excessive CPU resources due to quadratic complexity in regular expression processing. This can lead to denial-of-service conditions by amplifying resource exhaustion. There is no impact on confidentiality or integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, users should consider limiting exposure of services that parse untrusted HTML input or apply other application-level mitigations to reduce the risk of denial-of-service.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- PSF
- Date Reserved
- 2025-06-13T14:05:15.473Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68517269a8c921274385c3c5
Added to database: 06/17/2025, 13:49:29 UTC
Last enriched: 08/07/2026, 15:00:12 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 162
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.