{"id":"CVE-2024-6232","aliases":["CVE-2024-6232","PSF-2024-11","BIT-LIBPYTHON-2024-6232","BIT-PYTHON-2024-6232","BIT-PYTHON-MIN-2024-6232"],"related":[],"kind":"vulnerability","state":"published","title":"Regular-expression DoS when parsing TarFile headers","summary":"There is a MEDIUM severity vulnerability affecting CPython.\n\n\n\n\n\nRegular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"There is a MEDIUM severity vulnerability affecting CPython.\n\n\n\n\n\nRegular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de gravedad MEDIA que afecta a CPython. Las expresiones regulares que permitían un retroceso excesivo durante el análisis de cabeceras tarfile.TarFile son vulnerables a ReDoS a través de archivos tar manipulados específicamente.","source":"nvd"}],"published":"2024-09-03T12:29:00.102Z","modified":"2026-09-22T11:25:37.088Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.8.20","status":"affected"},{"type":"python","introduced":"3.9.0","fixed":"3.9.20","status":"affected"},{"type":"python","introduced":"3.10.0","fixed":"3.10.15","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.10","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.6","status":"affected"},{"type":"python","introduced":"3.13.0a1","fixed":"3.13.0rc2","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"3.8.20","status":"affected"},{"type":"custom","introduced":"3.9.0","fixed":"3.9.20","status":"affected"},{"type":"custom","introduced":"3.10.0","fixed":"3.10.15","status":"affected"},{"type":"custom","introduced":"3.11.0","fixed":"3.11.10","status":"affected"},{"type":"custom","introduced":"3.12.0","fixed":"3.12.6","status":"affected"},{"type":"custom","introduced":"3.13.0a1","fixed":"3.13.0rc2","status":"affected"}],"vendor":"python","product":"cpython","cpe":"cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"4eaf4891c12589e3c7bdad5f5b076e4c8392dd06"},{"type":"git","status":"affected","fixed":"743acbe872485dc18df4d8ab2dc7895187f062c4"},{"type":"git","status":"affected","fixed":"d449caf8a179e3b954268b3a88eb9170be3c8fbf"},{"type":"git","status":"affected","fixed":"ed3a49ea734ada357ff4442996fd4ae71d253373"},{"type":"git","status":"affected","fixed":"7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d"},{"type":"git","status":"affected","fixed":"b4225ca91547aa97ed3aca391614afbb255bc877"},{"type":"git","status":"affected","fixed":"34ddb64d088dd7ccc321f6103d23153256caa5d4"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.8.20"},{"status":"affected","introduced":"3.9.0","fixed":"3.9.20"},{"status":"affected","introduced":"3.10.0","fixed":"3.10.15"},{"status":"affected","introduced":"3.11.0","fixed":"3.11.10"},{"status":"affected","introduced":"3.12.0","fixed":"3.12.6"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.20"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.20"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.15"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.10"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.6"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.20"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.20"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.15"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.10"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.6"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.20"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.20"},{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.15"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.10"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.6"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/121286","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/121285","tags":["exploit","fix","issue-tracking","patch","report"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/","tags":["advisory","vendor-advisory"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4","tags":["fix","patch"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/09/03/5","tags":["advisory","mailing-list","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20241018-0007/","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6232","tags":["web"],"sources":["bitnami"]}],"credits":["Elias Joakim Myllymäki","Seth Larson","Gregory P. Smith"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-12-04T15:24:31.176Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6232","url":"https://www.cve.org/CVERecord?id=CVE-2024-6232","licence":"CVE Terms of Use","modified":"2025-11-03T22:32:42.630Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2024-11","url":"https://osv.dev/vulnerability/PSF-2024-11","licence":"CC-BY-4.0","modified":"2026-09-22T11:25:37.088Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6232","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6232","licence":"Public domain","modified":"2026-06-17T08:17:35.503Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2024-6232","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2024-6232","licence":"Apache-2.0","modified":"2026-09-22T11:25:37.088Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2024-6232","url":"https://osv.dev/vulnerability/BIT-PYTHON-2024-6232","licence":"Apache-2.0","modified":"2026-09-22T11:25:37.088Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2024-6232","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2024-6232","licence":"Apache-2.0","modified":"2026-09-22T11:25:37.088Z"}],"updatedAt":"2026-11-25T22:58:45.010Z","epss":{"score":0.02203,"percentile":0.83076,"date":"2026-12-02T12:00:21.000Z"}}