# CVE-2026-102995: pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.18.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-30 · Modified: 2026-10-01
- Aliases: GHSA-fp3h-c4fm-7vvf, PYSEC-2026-4154, UBUNTU-CVE-2026-102995, DEBIAN-CVE-2026-102995, CGA-7759-8726-5jc9
- Record: https://cvemate.com/vulnerability/CVE-2026-102995 · JSON: https://cvemate.com/vulnerability/CVE-2026-102995/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.34%, percentile 29.493%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard open-webui (Chainguard): \< 0.11.4-r3
- wolfi open-webui (Wolfi): \< 0.11.4-r3
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- ubuntu pypdf2 (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.18.1
- pypdf\_project pypdf: \< 6.18.1
- PyPI pypdf (PyPI): \< 6.18.1

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3h-c4fm-7vvf>
- <https://github.com/py-pdf/pypdf/pull/4071>
- <https://github.com/py-pdf/pypdf/commit/319d0b823ce2c311a2435e9fd93c13994d32bb51>
- <https://github.com/py-pdf/pypdf/releases/tag/6.18.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102995>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-fp3h-c4fm-7vvf>
- <https://ubuntu.com/security/CVE-2026-102995>
- <https://www.cve.org/CVERecord?id=CVE-2026-102995>
- <https://security-tracker.debian.org/tracker/CVE-2026-102995>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102995.json>

---

Data as of 2026-12-05T08:28:28.950Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
