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.
https://www.vulncheck.com/advisories/pypdf-before-7.1.1-cross-reference-stream-entry-limit-bypass
https://github.com/py-pdf/pypdf/security/advisories/GHSA-p3v2-r3fx-qpm6
Published: 2026-12-04
Updated: 2026-12-04
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
Base Score: 8.7
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
Severity: High