CVE-2024-6232: Regular-expression DoS when parsing TarFile headers
Vulnerability summary
CVE-2024-6232 is a high (CVSS 7.5) vulnerability in python software foundation cpython. EPSS estimates a 2.20% chance of exploitation in the next 30 days, higher than 82.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 28Timeline
- 03-09-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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 metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.20%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCpython
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat131 products
- Cython< 0:0.29.21-5.module+el8.9.0+19644+d68f775d
- Cython-debugsource< 0:0.29.21-5.module+el8.9.0+19644+d68f775d
- mod_wsgi< 0:4.7.1-7.module+el8.9.0+19644+d68f775d | < 0:4.7.1-5.module+el8.7.0+16654+645aad7f | < 0:4.7.1-4.module+el8.4.0+9822+20bf1249
- numpy< 0:1.19.4-2.module+el8.4.0+15042+dc5a279b.1 | < 0:1.19.4-3.module+el8.9.0+19644+d68f775d | < 0:1.19.4-3.module+el8.5.0+12204+54860423
- numpy-debugsource< 0:1.19.4-2.module+el8.4.0+15042+dc5a279b.1 | < 0:1.19.4-3.module+el8.9.0+19644+d68f775d | < 0:1.19.4-3.module+el8.5.0+12204+54860423
Suse13 products
- python3-core&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 3.6.15-150000.3.161.1
- python3-core&distro=SUSE Linux Enterprise Micro 5.1< 3.6.15-150000.3.161.1
- python3-core&distro=SUSE Linux Enterprise Server 15 SP2-LTSS< 3.6.15-150000.3.161.1
- python3-core&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2< 3.6.15-150000.3.161.1
- python36-core&distro=SUSE Linux Enterprise Server 12 SP5< 3.6.15-67.1
Ubuntu10 products
- python2.7< 2.7.6-8ubuntu0.6+esm21 | < 2.7.12-1ubuntu0~16.04.18+esm12 | < 2.7.18-1~20.04.5 | < 2.7.18-13ubuntu1.3
- python3.10< 3.10.12-1~22.04.6
- python3.11< 3.11.0~rc1-1~22.04.1~esm2
- python3.12< 3.12.3-1ubuntu0.2
- python3.4< 3.4.3-1ubuntu1~14.04.7+esm14
Chainguard5 products
- python-3.10< 3.10.15-r0
- python-3.11< 3.11.9-r9
- python-3.12< 3.12.5-r3
- python-3.13< 3.13.2-r6
- python-3.9< 3.9.20-r0
Wolfi4 products
- python-3.10< 3.10.15-r0
- python-3.11< 3.11.9-r9
- python-3.12< 3.12.5-r3
- python-3.13< 3.13.2-r6
Debian3 products
- pypy3All versions (No fix recorded) | < 7.3.18+dfsg-1
- python3.11< 3.11.2-6+deb12u4
- python3.13< 3.13.0~rc2-1
Alpine1 product
- python3< 3.10.15-r0 | < 3.11.10-r0 | < 3.12.6-r0
Opensuse1 product
- python39&distro=openSUSE Tumbleweed< 3.9.19-8.1
Python1 product
- python< 3.8.20 | ≥ 3.9.0, < 3.9.20 | ≥ 3.10.0, < 3.10.15 | ≥ 3.11.0, < 3.11.10 | ≥ 3.12.0, < 3.12.6 | 3.13.0:alpha0 | 3.13.0:alpha1 | 3.13.0:alpha2 | 3.13.0:alpha3 | 3.13.0:alpha4 | 3.13.0:alpha5 | 3.13.0:alpha6 | 3.13.0:beta1 | 3.13.0:beta2 | 3.13.0:beta3 | 3.13.0:beta4 | 3.13.0:rc1
Python software foundation1 product
- cpython< 3.8.20 | ≥ 3.9.0, < 3.9.20 | ≥ 3.10.0, < 3.10.15 | ≥ 3.11.0, < 3.11.10 | ≥ 3.12.0, < 3.12.6 | ≥ 3.13.0a1, < 3.13.0rc2
10 vendors · 170 products
References
63 links- mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/Vendor AdvisoryARTICLEREPORTAdvisory
Show all 63 references
- github.com/python/cpythonPACKAGE