Prior to 6.21.3, pypdf can consume excessive time and memory when an application accesses the page count of a crafted encrypted PDF whose page tree declares a forged /Count value.
- CVSS
- 5.5Medium
- Chance of exploitation (EPSS)
- 0.39%
- 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 time and memory when an application accesses the page count of a crafted encrypted PDF whose page tree declares a forged /Count value. Even after successful decryption, page-count retrieval trusts the unvalidated declared count instead of walking the page tree, allowing the attacker-controlled value to drive excessive work and memory use. 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 374233: Linux Distros Unpatched Vulnerability : CVE-2026-119208Tenable
Thu, Oct 29, 2026
- CVECVE-2026-119208 published (CVSS 5.5)CVE Program · 21:17 UTC
References 4
- github.com Patch /py-pdf/pypdf/commit/82b91951dc74496bb3efe6465434f041bb6a5e6b
- github.com Patch /py-pdf/pypdf/pull/4270
- github.com PatchVendor Advisory /py-pdf/pypdf/security/advisories/GHSA-62m5-6wh8-28x7
- github.com /py-pdf/pypdf/releases/tag/6.21.3