pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
CVE-2026-113790
CVSS base score
3.3 (v3.1)
Severity
LOW
Attack vector
Local
Weakness
CWE-400, CWE-770
Last modified
November 5, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Affected products
py-pdf pypdf
References
- github.com Patch
- github.com Issue Tracking, Patch
- github.com Release Notes
- github.com Vendor Advisory, Patch