CVE-2026-113791
Medium
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
SeverityMedium
CVSS6.0
Exploit probability—
ProductPypdf
PublishedOct 21, 2026
First seenOct 21, 2026
How to fix
Update
- pypdf6.21.0 or later
- py-pdf pypdf6.21.0 or later
Patches
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypdfPyPI | v < 6.21.0 | 6.21.0 |
| py-pdf pypdf | v < 6.21.0 | 6.21.0 |
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.