medium6.0
CVE-2026-113795
pypdf: Possible large memory usage for streams with multiple filters
Impact
pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, accessing a crafted PDF stream with a large number of filters or multiple filters that pass around large amounts of data can cause large memory consumption. This issue is fixed in version 6.20.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pypdf | < 6.20.0 | 6.20.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-7mh2-4gg2-979f
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-7mh2-4gg2-979f
- https://github.com/py-pdf/pypdf/pull/4173
- https://github.com/py-pdf/pypdf/commit/80a84d4be6022d910874ccb0d2365400f3f0e185
- https://github.com/py-pdf/pypdf/releases/tag/6.20.0