Prior to 6.21.3, pypdf can consume excessive memory while opening a crafted PDF containing cross-reference streams that declare very large entry counts.
- CVSS
- 5.5Medium
- Chance of exploitation (EPSS)
- 0.47%
- Published
- Oct 29, 2026
- In the news
- 1 story
What to do
A moderate resource exhaustion flaw in Pypdf that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Pypdf
- < 6.21.3
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can consume excessive memory while opening a crafted PDF containing cross-reference streams that declare very large entry counts. Highly compressible streams and /Prev chains can multiply the number of parsed entries across a document, while negative /Index counts can bypass the existing per-stream clamp. This issue is fixed in version 6.21.3.
Affected products
Get alerts for these →Timeline 11
Latest change: Nessus plugin 376242: openSUSE 16 Security Update : python-pypdf (openSUSE-SU-2026:22219-1) (Nov 4, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Nov 5, 2026
Sun, Nov 1, 2026
Sat, Oct 31, 2026
Fri, Oct 30, 2026
- Researchpypdf: pypdf has possible large memory usage when parsing page treeGitHub Advisories · 23:13 UTC
- Researchpypdf: pypdf has possible long runtimes when retrieving page labelsGitHub Advisories · 23:08 UTC
- Researchpypdf: pypdf has possible long runtimes/large memory usage for encrypted PDF filesGitHub Advisories · 23:08 UTC
- Researchpypdf: pypdf has possible large memory usage when parsing cross-reference streamsGitHub Advisories · 23:07 UTC
- DetectionNessus plugin 374239: Linux Distros Unpatched Vulnerability : CVE-2026-119209Tenable
Thu, Oct 29, 2026
- CVECVE-2026-119209 published (CVSS 5.5)CVE Program · 21:17 UTC
References 4
- github.com Patch /py-pdf/pypdf/commit/a93fe3a901fd00af38f0a105c3ba7175fa72dcb4
- github.com Patch /py-pdf/pypdf/pull/4269
- github.com PatchVendor Advisory /py-pdf/pypdf/security/advisories/GHSA-x3rh-gjgm-fmqc
- github.com /py-pdf/pypdf/releases/tag/6.21.3