CVE-2026-49460: Pypdf2 · Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to long
Affects pypdf2Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium : upgrade to 6.12.2 when convenient.
Data as of 30 Nov 2026, 18:37 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 5.1 |
|---|
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.12.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 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 1 Dec 2026.
What to do
Upgrade pypdf to 6.12.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 16.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSpython-pypdfpkg:deb/ubuntu/python-pypdf?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpypdf2pkg:deb/ubuntu/pypdf2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpypdfpkg:deb/ubuntu/pypdf?arch=source&distro=nobleOther 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 to pypdf2 version 6.12.2 or later where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
Pypdf2 versions prior to 6.12.2 contain a vulnerability where an attacker can craft a specially designed PDF that causes long runtimes during processing. This issue arises when accessing a stream using the /FlateDecode filter with a PNG predictor. The vulnerability has a medium severity score and does not impact confidentiality or integrity but affects availability by causing performance degradation. It is fixed in version 6.12.2.
References
- ubuntu.com/security/CVE-2026-49460 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-49460 (opens in a new tab)
- github.com/py-pdf/pypdf/pull/3806 (opens in a new tab)
- github.com/py-pdf/pypdf/releases/tag/6.12.2 (opens in a new tab)
- github.com/py-pdf/pypdf/security/advisories/GHSA-5hgr-hg42-57jg (opens in a new tab)