CVE-2024-6232

Regular-expression DoS when parsing TarFile headers

HIGH
7.5
CVSS Score
Published: September 3, 2024 at 12:29 PM UTC
Updated: June 17, 2026 at 08:17 AM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%
SSVC
No known exploit

Description

There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.8.203.10.0 ≤ v < 3.10.153.11.0 ≤ v < 3.11.103.12.0 ≤ v < 3.12.63.13.0a1 ≤ v < 3.13.0rc23.9.0 ≤ v < 3.9.203.10.03.11.03.12.03.13.0 alpha03.13.0 alpha13.13.0 alpha23.13.0 alpha33.13.0 alpha43.13.0 alpha53.13.0 alpha63.13.0 beta13.13.0 beta23.13.0 beta33.13.0 beta43.13.0 rc13.13.0a13.9.0
Affected range stops below 3.10.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.11.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.12.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.0rc2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.8.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.9.20, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card