CVE-2026-102995pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)
Updated under an hour ago ()
Does this affect you?
It affects py-pdf pypdf and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.34%, higher than 26% of scored CVEs.
Do this next
Free account, 1 product
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can place unusually large source-code or destination-string tokens in a font /ToUnicode mapping, causing pypdf/_cmap.py parse_bfchar to decode and retain oversized values during operations such as text extraction and consume excessive memory. This is a second follow-up to earlier /ToUnicode resource-consumption fixes and is limited to the remaining token-length path. This issue is fixed in version 6.18.1.
- CVSS
- 8.7 HIGH (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-400
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.34% (percentile 26)
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Oct 1, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
py-pdf pypdf py_pdf:pypdf (from the name) | before 6.18.1 | CNA record |
pypdf_project pypdf pypdf_project:pypdf | before 6.18.1 | NVD |
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3h-c4fm-7vvfx-refsource-confirm, vendor-advisory
- https://github.com/py-pdf/pypdf/pull/4071x-refsource-misc, patch, issue-tracking
- https://github.com/py-pdf/pypdf/commit/319d0b823ce2c311a2435e9fd93c13994d32bb51x-refsource-misc, patch
- https://github.com/py-pdf/pypdf/releases/tag/6.18.1x-refsource-misc, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.