CVE-2024-6232: There is a MEDIUM severity vulnerability affecting CPython
Source GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 29 Oct 2026, 22:52 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.5 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIcpythonpkg:pypi/cpythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-6232 (opens in a new tab)
- github.com/python/cpython/issues/121285 (opens in a new tab)
- github.com/python/cpython/pull/121286 (opens in a new tab)
- github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4 (opens in a new tab)
- github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06 (opens in a new tab)
- github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4 (opens in a new tab)
- github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d (opens in a new tab)
- github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877 (opens in a new tab)
- github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf (opens in a new tab)
- github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/12/msg00000.html (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY (opens in a new tab)
- security.netapp.com/advisory/ntap-20241018-0007 (opens in a new tab)
- openwall.com/lists/oss-security/2024/09/03/5 (opens in a new tab)