CVE-2026-71870: pypdf · Possible large memory usage for large /ToUnicode streams
Affects psutilsSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium : upgrade to 3.3.16_1 when convenient.
Data as of 1 Nov 2026, 00:10 UTC
- Patch
- Available – fixed in 3.3.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:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 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 31 Oct 2026.
What to do
Upgrade psutils to 3.3.16_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpsutilspkg:brew/psutilsOther 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 3.3.16_1 or later, where this vulnerability is fixed. If upgrading is not immediately possible, apply the changes from pull request #3944 as a workaround to mitigate the issue.
Description
CVE-2026-71870 is a vulnerability in pypdf affecting versions from 3.0 up to but not including 3.3.16_1. It allows an attacker to craft a PDF with a large /ToUnicode stream in a font, causing excessive memory consumption during parsing, such as text extraction. This issue has been fixed in pypdf version 3.3.16_1.
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c (opens in a new tab)
- github.com/py-pdf/pypdf/pull/3944 (opens in a new tab)
- github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa (opens in a new tab)
- github.com/py-pdf/pypdf (opens in a new tab)
- github.com/py-pdf/pypdf/releases/tag/6.15.0 (opens in a new tab)