Skip to main content
CVE-2026-84311VulnerabilityPublished Updated

Pypdf2: Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text and

Affects pypdf2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-84311· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium · fixed in 6.16.1 : update pypdf2 when convenient.

Data as of 24 Nov 2026, 21:25 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 6.16.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pypdfpkg:deb/ubuntu/pypdf?arch=source&distro=stonkingOther threatsAffected
  • =6.9.2-1
  • =6.9.2-2
Fixed in–
Ubuntu 26.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=resoluteOther threatsAffected
  • =5.4.0-1
  • =6.9.2-1
Fixed in–
Ubuntu 24.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=nobleOther threatsAffected
  • 3.4.1-1 – 4.0.2-1
5 affected builds
Fixed in–
Ubuntu 24.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=nobleOther threatsAffected
  • =2.12.1-3
  • =2.12.1-4
Fixed in–
Ubuntu 22.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=jammyOther threatsAffected
  • =1.26.0-4
  • =1.26.0-4ubuntu0.22.04.1
  • =1.26.0-4ubuntu0.22.04.2
Fixed in–
Ubuntu 20.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=focalOther threatsAffected
  • 1.26.0-2 – 1.26.0-3ubuntu1.20.04.2
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text and PageObject.extract_xform_text to traverse a directed acyclic graph of reused form XObjects in which each form invokes a child multiple times, creating exponentially many traversal paths and causing long runtimes and large memory consumption. This issue is fixed in version 6.16.1.

References

Community reviews

Loading reviews…