Vulnerabilities

CVE-2024-6232

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-09-03
Last modified
2026-06-17
Assigned by
cna@python.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
2.2 % higher than 81 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Python Python < 3.8.20 Affected
Python Python 3.13.0 Affected
Python Python ≥ 3.10.0, < 3.10.15 Affected
Python Python ≥ 3.11.0, < 3.11.10 Affected
Python Python ≥ 3.12.0, < 3.12.6 Affected
Python Python ≥ 3.9.0, < 3.9.20 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities