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

State
Published
Severity
8.7 High
Published
Nov 21, 2026
Updated
Nov 23, 2026
Reserved
Nov 21, 2026

Read the record on cve.org

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.

ProductVersions
pypdf py-pdfbefore 7.0.0 Affected7.0.0 Not Affected

Weaknesses

  • CWE-407 Inefficient Algorithmic Complexity

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.