Skip to content
Noroxi
CVE-2024-0450· NVD / CVE Program· CNA PSF

Quoted zip-bomb protection for zipfile

An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.

MediumCVSS 6.2 · v3.1—No exploit Fix available
Published
Mar 19, 2024
Updated
Jun 17, 2026
EPSS
0.3% · 25th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
24 / 40 · 6.2 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · PSF
6.2
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
pythoncpython

Versions reported by the vendor

Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.

  • Python Software Foundation CPython

    • before 3.8.19affected · python
    • 3.9.0 and later · before 3.9.19affected · python
    • 3.10.0 and later · before 3.10.14affected · python
    • 3.11.0 and later · before 3.11.8affected · python
    • 3.12.0 and later · before 3.12.2affected · python
    • 3.13.0a1 and later · before 3.13.0a3affected · python

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8platform-pythonbefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8platform-python-debugbefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8platform-python-develbefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8python3-idlebefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8python3-libsbefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8python3-testbefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8python3-tkinterbefore 3.6.8-62.el8_10.alma.13.6.8-62.el8_10.alma.1
AlmaLinux:8python3.11before 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-debugbefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-develbefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-idlebefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-libsbefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-rpm-macrosbefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-testbefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.11-tkinterbefore 3.11.9-1.el8_103.11.9-1.el8_10
AlmaLinux:8python3.12before 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-debugbefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-develbefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-idlebefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-libsbefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-rpm-macrosbefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-testbefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python3.12-tkinterbefore 3.12.3-2.el8_103.12.3-2.el8_10
AlmaLinux:8python39before 3.9.19-1.module_el8.10.0+3849+a48d89aa3.9.19-1.module_el8.10.0+3849+a48d89aa

+96

Other highest-scoring records for the same primary product.

  • CVE-2025-4517Arbitrary writes via tarfile realpath overflow
    37Monitor
  • CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts
    36Monitor
  • CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure
    36Monitor
  • CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
    35Monitor
  • CVE-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines()
    35Monitor
  • CVE-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Python Software Foundation CPython3.10.14Vendor (CNA)
Python Software Foundation CPython3.11.8Vendor (CNA)
Python Software Foundation CPython3.12.2Vendor (CNA)
Python Software Foundation CPython3.13.0a3Vendor (CNA)
Python Software Foundation CPython3.8.19Vendor (CNA)
Python Software Foundation CPython3.9.19Vendor (CNA)
almalinux:platform-python3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:platform-python-debug3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:platform-python-devel3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:python3-idle3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:python3-libs3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:python3-test3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:python3-tkinter3.6.8-62.el8_10.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:python393.9.19-1.module_el8.10.0+3849+a48d89aa · AlmaLinux:8Package registry (OSV)
almalinux:python39-attrs20.3.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-cffi1.14.3-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-Cython0.29.21-5.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-PyMySQL0.10.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
alpine:python33.10.14-r0 · Alpine:v3.16Package registry (OSV)
debian:pypy37.3.11+dfsg-2+deb12u2 · Debian:12Package registry (OSV)
debian:python2.72.7.16-2+deb10u4 · Debian:10Package registry (OSV)
debian:python3.113.11.2-6+deb12u2 · Debian:12Package registry (OSV)
debian:python3.73.7.3-2+deb10u7 · Debian:10Package registry (OSV)
debian:python3.93.9.2-1+deb11u2 · Debian:11Package registry (OSV)
opensuse:python3103.10.14-150400.4.45.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:python310-core3.10.14-150400.4.45.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:python310-documentation3.10.14-150400.4.45.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:python393.9.19-150300.4.41.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:python39-core3.9.19-150300.4.41.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:python39-documentation3.9.19-150300.4.41.1 · openSUSE:Leap 15.5Package registry (OSV)

+30

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records