CVE-2026-145060: pypdf before 7.1.1 Excessive Memory Usage via Cross-Reference Streams
pypdf before 7.1.1 contains a resource exhaustion vulnerability that a ...
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/pypdfto a version that resolves this vulnerability.Fixed in 7.1.1-1
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using the PyPI pypdf package before version 7.1.1 are affected. Exposure is most relevant where the application processes PDF files supplied by untrusted users or external sources.
What must an attacker do to trigger the denial of service?
An attacker needs to provide a crafted PDF containing many cross-reference streams. No privileges or user interaction are required according to the supplied CVSS vector.
What is the practical impact?
Processing the crafted PDF can cause pypdf to retain unnecessary cross-reference-stream content in memory. This may exhaust available memory and make the affected application unavailable.
How can I tell whether my environment is affected?
Check the installed pypdf version and whether it is earlier than 7.1.1. Also identify application paths that parse PDFs from untrusted or externally controlled sources.