Skip to main content
← All vulnerabilities
CVE-2024-6232

Regular-expression DoS when parsing TarFile headers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6, and 1 more
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.8.20; From 3.9.0 · fixed in 3.9.20; From 3.10.0 · fixed in 3.10.15; From 3.11.0 · fixed in 3.11.10; From 3.12.0 · fixed in 3.12.6; From 3.13.0a1 · fixed in 3.13.0rc2

References 11

GitHub · python/cpython

mail.python.org

GitHub · bgutowski/CVE-2025-4517-POC-Sudoers