Home › CVE › Vulnerabilities
CVE-2026-145085 — py-pdf pypdf
One of 5 py-pdf pypdf vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
High · 8.7
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-400: Uncontrolled Resource Consumption
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| py-pdf pypdf | < 7.1.1 | 7.1.1 |
References by type
Vendor advisories
Other references
Affected
- py-pdf pypdf
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-145085?
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. Weakness type: Uncontrolled Resource Consumption (CWE-400).
How severe is CVE-2026-145085?
CVE-2026-145085 has a CVSS 4.0 base score of 8.7 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-145085 being exploited?
Not as far as is known: CVE-2026-145085 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.
Which versions are affected by CVE-2026-145085?
py-pdf pypdf < 7.1.1 (fixed in 7.1.1).
How do I fix CVE-2026-145085?
Update to a fixed release: py-pdf pypdf 7.1.1.