Skip to main content
Public proof of conceptFix available

CVE-2024-6232

A public proof of concept exists; no exploitation attested.

  • Published2024-09-03
  • Fixed in3.12.6 · 3.11.10 · 3.10.15 · 3.9.20 · 3.8.20
  • WeaknessCWE-1333

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-09-0313:15CVE publishedNVD

Versions per branch

NVD · OSV · CISA-ADP
Python
BranchAffectedFixed in
3.12≥ 3.12.0, < 3.12.63.12.6
3.11≥ 3.11.0, < 3.11.103.11.10
3.10≥ 3.10.0, < 3.10.153.10.15
3.9≥ 3.9.0, < 3.9.203.9.20
3.8< 3.8.203.8.20
3.13= 3.13.0no fix published
Python cpython
BranchAffectedFixed in
3.13≥ 3.13.0a1, < 3.13.0rc23.13.0rc2
3.12≥ 3.12.0, < 3.12.63.12.6
3.11≥ 3.11.0, < 3.11.103.11.10
3.10≥ 3.10.0, < 3.10.153.10.15
3.9≥ 3.9.0, < 3.9.203.9.20
3.8< 3.8.203.8.20

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As PSF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Python Software Foundation CPythonother versions: not affected

    https://github.com/python/cpython

    Affected
    • < 3.8.20fixed in 3.8.20python
    • ≥ 3.9.0, < 3.9.20fixed in 3.9.20python
    • ≥ 3.10.0, < 3.10.15fixed in 3.10.15python
    • ≥ 3.11.0, < 3.11.10fixed in 3.11.10python
    • ≥ 3.12.0, < 3.12.6fixed in 3.12.6python
    • ≥ 3.13.0a1, < 3.13.0rc2fixed in 3.13.0rc2python

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-01-31

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cassandraCleanStartall versions · fixed in 5.0.6-r2and 1 other package
  • cassandra-fipsCleanStartall versions · fixed in 4.0.19-r3
  • cassandra-fipsCleanStartall versions · fixed in 4.1.10-r2
  • CythonRocky Linux:8all versions · fixed in 0:0.29.21-5.module+el8.10.0+1582+bc278001
  • CythonRed Hat:enterprise_linux:8::crball versions · fixed in 0:0.29.21-5.module+el8.9.0+19644+d68f775dand 3 other packages
  • kserve-storage-controllerCleanStartall versions · fixed in 0.19.0-r0
  • mod_wsgiRocky Linux:8all versions · fixed in 0:4.7.1-7.module+el8.10.0+1582+bc278001
  • mod_wsgiRed Hat:rhel_tus:8.6::appstreamall versions · fixed in 0:4.7.1-4.module+el8.4.0+9822+20bf1249

351 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-6232 Red Hat Product Security1,967 products fixed · 16 known affected

    python: cpython: tarfile: ReDos via excessive backtracking while parsing header values

    python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · python-libs as a component of Red Hat Enterprise Linux 6 · +13 more

  • SSA-202008 Siemens ProductCERT11 known affected

    SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0

    RUGGEDCOM ROX MX5000 · RUGGEDCOM ROX MX5000RE · RUGGEDCOM ROX RX1400 · +8 more

  • ICSA-25-226-15 CISA2 known affected

    Siemens SINEC OS

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XCM-/XRM-/XCH-/XRH-300 family

  • SSA-613116 Siemens ProductCERT2 known affected

    SSA-613116: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.1

    RUGGEDCOM RST2428P (6GK6242-6PA00) · SCALANCE XCM-/XRM-/XCH-/XRH-300 family

  • RHBA-2025:6294 Red Hat Product Security54 products fixed

    Red Hat Bug Fix Advisory: python3.12 bug fix and enhancement update

  • RHSA-2025:1750 Red Hat Product Security64 products fixed

    Red Hat Security Advisory: python3 security update

20 more advisories

Full record on NVD

Fix

  1. Update Python to 3.12.6 · 3.11.10 · 3.10.15 · 3.9.20 · 3.8.20
  2. Vendor fix Siemens ProductCERT SSA-202008 · 11 productsUpdate to V2.17.0 or later version
  3. Vendor fix Siemens ProductCERT SSA-613116 · 2 productsUpdate to V3.1 or later version
  4. Vendor fix CISA ICSA-25-226-15 · 2 productsUpdate to V3.1 or later version
  5. Vendor fix Red Hat Product Security RHBA-2025:6294 · 54 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHBA-2024:8413 · 30 productsFor Red Hat OpenShift AI 2.13.1 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  7. Vendor fix Red Hat Product Security RHBA-2024:8240 · 32 productsFor Red Hat OpenShift AI 2.14.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2024-09-03
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-mmm5-wgvp-wp8r

Frequently asked questions

What is CVE-2024-6232?

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.

Is CVE-2024-6232 actively exploited?

Active exploitation of CVE-2024-6232 has not been confirmed. Its EPSS score was 2.2% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-6232?

CVE-2024-6232 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Python? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record