CVE-2026-102995: pypdf - Denial of Service
- Cve: CVE-2026-102995
- Name: pypdf - Denial of Service
- Description: 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.
- Impact: Attackers can cause excessive memory consumption, potentially leading to denial of service.
- Remediation: Update to version 6.18.1 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0034
- Epss percentile: 0.27832
- Assignee: [email protected]
- Published at: 2026-09-30T21:17:06Z
- Age in days: 55
- Modified at: 2026-11-02T16:06:04Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-102995
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/py-pdf/pypdf/commit/319d0b823ce2c311a2435e9fd93c13994d32bb51 | Patch |
| https://github.com/py-pdf/pypdf/pull/4071 | Patch, Issue Tracking |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3h-c4fm-7vvf | Vendor Advisory |
| https://github.com/py-pdf/pypdf/releases/tag/6.18.1 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| py-pdf:pypdf | < 6.18.1 | no | nvd | /v1/products/py-pdf/pypdf |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| py-pdf/pypdf | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/py-pdf/pypdf |
Index
- Repositories: 438
- Repositories high signal: 257
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts