CVE-2026-113794: py-pdf pypdf · Infinite Loop
Affects py-pdf pypdfSource CVE Database V5
Not known to be exploited · CVSS 6.0 Medium : upgrade to 6.20.0 when convenient.
Data as of 5 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.0 |
|---|
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.20.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:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.20.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| py-pdfpypdf | Affected
| Fixed in
|
PyPIpypdfpkg:pypi/pypdfOther threats | Affected
| Fixed in
|
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.20.0 or later, where this infinite loop vulnerability has been fixed. No other mitigation is indicated or required.
Description
pypdf versions prior to 6.20.0 contain a vulnerability where processing a crafted incomplete PDF file that ends inside a standard cross-reference table can cause the library to enter an infinite loop. This issue is resolved in version 6.20.0.
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-39mj-jf6j-2qj3 (opens in a new tab)
- github.com/py-pdf/pypdf/issues/4169 (opens in a new tab)
- github.com/py-pdf/pypdf/pull/4170 (opens in a new tab)
- github.com/py-pdf/pypdf/commit/37e1cd681744bac38b159f7e1c614eee8d639c58 (opens in a new tab)
- github.com/py-pdf/pypdf/releases/tag/6.20.0 (opens in a new tab)