CVE-2026-115572
High
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF that repeatedly references the same nonexistent indirect object, causing relevant file parts such as pages to trigger repeated full-file recovery loads and long runtimes when accessed. This issue is fixed in version 6.21.2.
SeverityHigh
CVSS7.1
Exploit probability—
ProductPypdf
PublishedOct 23, 2026
First seenOct 23, 2026
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- pypdf6.21.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypdfPyPI | v < 6.21.2 | 6.21.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.