Skip to main content
EPSS 0.5%top 56%

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

0
Medium
VulnerabilityCVE-2025-6069cvecve-2025-6069cwe-1333
Published: 06/17/2025 (06/17/2025, 13:39:46 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected software

Affected versions
=3.10.0=3.11.0=3.12.0=3.13.0=3.14.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 15:00:12 UTC

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.

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: 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 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