ZeroDay Brief
CVE-2026-119208

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
Vendor advisory More from this vendor

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.

CWE-400

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.

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

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”