CVE-2026-145085: pypdf before 7.1.1 Cross-Reference Stream Entry Limit Bypass
pypdf before 7.1.1 does not enforce cross-reference stream entry limits when parsing PDFs with hybrid cross-reference tables, because overly broad exception handling suppresses the limit violations. Attackers can supply a crafted PDF that, when opened, causes excessive cross-reference stream entries to be processed, leading to uncontrolled resource consumption.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using pypdf versions before 7.1.1 are exposed if they parse attacker-controlled or otherwise untrusted PDF files. An attacker can trigger the condition remotely by supplying a crafted PDF to a processing workflow.
What does successful exploitation require?
The attacker needs only to provide a crafted PDF with hybrid cross-reference tables. No privileges or user interaction are required according to the supplied severity vector.
What is the impact of exploitation?
Processing the crafted PDF can cause excessive cross-reference stream entries to be handled, resulting in uncontrolled resource consumption and a denial-of-service condition. The provided vector indicates availability impact, with no stated confidentiality or integrity impact.
How can I remediate the issue?
Upgrade pypdf to version 7.1.1 or later. The issue affects versions before 7.1.1.