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.
CVE-2026-102995
This high-severity CVE scores 8.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3% (20th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.7
- EG Score
- 8.7HIGHmedium confidence
- EG Risk
- 54EG Risk 54/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity87% × 45%Exploitation0% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.3%
- EPSS %ILE
- 20th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 30, 2026
Last Modified
October 1, 2026
Advisory Details (4)
Auto-updated Sep 30, 2026Version 6.18.1, 2026-09-11
Patch available: py-pdf/pypdf 6.18.1
https://github.com/py-pdf/pypdf/releases/tag/6.18.1commit 319d0b823ce2 (py-pdf/pypdf)
Patch available: py-pdf/pypdf 6.18.1 (contains commit 319d0b823ce2)
https://github.com/py-pdf/pypdf/commit/319d0b823ce2c311a2435e9fd93c13994d32bb51SEC: Limit allowed length of tokens in parse_bfchar
Patch available: py-pdf/pypdf 6.18.1 (PR #4071 merged 2026-09-11)
https://github.com/py-pdf/pypdf/pull/4071Possible large memory usage for large /ToUnicode streams (Follow-up 2) · Advisory · py-pdf/pypdf · GitHub
https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3h-c4fm-7vvfVendor Advisories for CVE-2026-102995(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pypdf | 1.0 ... 6.9.2 (118 versions) | 6.18.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-03 23:39 UTCEG score recompute
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-02 21:29 UTCEG score recompute
- 2026-10-02 08:26 UTCEG score recompute
- 2026-10-01 19:49 UTCEPSS rescore
- 2026-10-01 19:23 UTCEG score recompute
- 2026-10-01 19:00 UTCEG score recompute
- 2026-09-30 21:28 UTCEG score recompute
- 2026-09-30 20:26 UTCEG score recompute
- 2026-09-30 20:25 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
10 shownPyPI:pypdf
Frequently asked(5)
What is CVE-2026-102995?
When was CVE-2026-102995 disclosed?
Is CVE-2026-102995 actively exploited?
What is the CVSS score of CVE-2026-102995?
How do I remediate CVE-2026-102995?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-102995
Is Your Infrastructure Affected by CVE-2026-102995?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.