CVE-2024-6232Regex Denial of Service in Software Foundation Cpython

Severity
7.5HIGHNVD
OSV5.3
EPSS
4.0%
top 11.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 3
Latest updateSep 29

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

CVEListV5python_software_foundation/cpython3.9.03.9.20+5
NVDpython/python3.9.03.9.20+5

Patches

🔴Vulnerability Details

11
OSV
python2.7 regression2025-09-29
OSV
python2.7 regresssions2024-11-22
OSV
python2.7 vulnerabilities2024-11-19
OSV
python2.7, python3.5 vulnerability2024-10-14
OSV
python2.7, python3.5 vulnerability2024-10-01

📋Vendor Advisories

7
Ubuntu
Python vulnerabilities2025-05-06
Ubuntu
Python vulnerabilities2024-11-19
Ubuntu
Python vulnerabilities2024-09-19
Ubuntu
Python vulnerabilities2024-09-16
Microsoft
Regular-expression DoS when parsing TarFile headers2024-09-10
CVE-2024-6232 — Regex Denial of Service | cvebase