All vulnerabilities

PyPI

CVE-2026-134366

pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets

Severity
High 8.7
Published
21 Nov 2026
Last changed
21 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
7.0.0
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.

From the CVE Program.

Affected software

SoftwareAffected versions
pypdfPyPI · osv:PyPI:pypdf
  • Every version before 7.0.0

About pypdf

Weekly downloads (PyPI)
51,984,861PyPI Stats, 23 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134366