Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2024-6232

Regular-expression DoS when parsing TarFile headers

High7.5EPSS 2.2%
Published
Updated
Reserved
Assigned by
PSF

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.

Scores

CVSS scores of CVE-2024-6232, by who scored it
Scored byCVSSScoreVector
CISA-ADPADP (enrichment)3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVDNVD · Modified3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
2.2% · top 17% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.

Weakness

Affected products

  • Python Software Foundation · CPython

    • affected < 3.8.20
    • affected 3.9.0 – < 3.9.20
    • affected 3.10.0 – < 3.10.15
    • affected 3.11.0 – < 3.11.10
    • affected 3.12.0 – < 3.12.6
    • affected 3.13.0a1 – < 3.13.0rc2

References (13)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-6232 badge
[![CVE-2024-6232](https://trackcve.app/badge/CVE-2024-6232.svg)](https://trackcve.app/cve/CVE-2024-6232)

Record last updated .