Skip to main content
VulnerabilityPublished Updated

CVE-2026-113791: py-pdf pypdf · Uncontrolled Resource Consumption

Affects py-pdf pypdfSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.0 Medium : upgrade to 6.21.0 when convenient.

Data as of 5 Dec 2026, 18:46 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.0
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.21.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 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 5 Dec 2026.

What to do

Upgrade py-pdf pypdf to 6.21.0.

Affected software

ProductAffectedFixed in
py-pdfpypdfAffected
  • <6.21.0
Fixed in
  • 6.21.0
PyPIpypdfpkg:pypi/pypdfOther threatsAffected
  • <6.21.0
Fixed in
  • 6.21.0

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

AI-suggested

Upgrade pypdf to version 6.21.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required.

Description

A vulnerability in pypdf prior to version 6.21.0 allows an attacker to craft a PDF with a content stream containing many small operations, leading to excessive memory consumption during parsing. This uncontrolled resource consumption issue is fixed in version 6.21.0.

References

Community reviews

Loading reviews…