Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6069: CWE-1333 Inefficient Regular Expression Complexity in Python Software Foundation CPython

0
Medium
VulnerabilityCVE-2025-6069cvecve-2025-6069cwe-1333
Published: Tue Jun 17 2025 (06/17/2025, 13:39:46 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

Description

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 05:42:49 UTC

Technical Analysis

The html.parser.HTMLParser class in CPython versions 0, 3.11.0, 3.12.0, 3.13.0, and 3.14.0a1 suffers from inefficient regular expression complexity (CWE-1333). Specifically, processing certain crafted malformed inputs causes worst-case quadratic time complexity, which can be exploited to cause amplified denial-of-service by exhausting CPU resources. This vulnerability does not impact confidentiality or integrity but affects availability. The CVSS 3.1 base score is 4.3 (medium severity) with network attack vector, low attack complexity, requiring low privileges and no user interaction.

Potential Impact

The vulnerability can lead to denial-of-service conditions by causing the html.parser.HTMLParser to consume excessive CPU resources when processing specially crafted malformed inputs. There is no impact on confidentiality or integrity. No known exploits are reported in the wild at this time.

Mitigation Recommendations

No official patch or fix is currently documented for this vulnerability. Users should monitor the Python Software Foundation's advisories for updates and apply any forthcoming patches promptly. Until a fix is available, consider limiting exposure of vulnerable components to untrusted input or employing input validation to mitigate potential denial-of-service attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6/17/2025, 1:49:29 PM

Last enriched: 4/22/2026, 5:42:49 AM

Last updated: 5/8/2026, 7:11:13 PM

Views: 108

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses