{"cve":"CVE-2026-102995","nvd":{"published":"2026-09-30T21:17:06.713","modified":"2026-10-05T15:23:15.717","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/py-pdf/pypdf/commit/319d0b823ce2c311a2435e9fd93c13994d32bb51","https://github.com/py-pdf/pypdf/pull/4071","https://github.com/py-pdf/pypdf/releases/tag/6.18.1","https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3h-c4fm-7vvf"],"products":["pypdf_project:pypdf"],"source":"nvd","synced_at":"2026-10-19T22:57:46.668721662+00:00"},"epss":{"cve":"CVE-2026-102995","score":0.0034,"percentile":0.27278,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-fp3h-c4fm-7vvf","url":"https://osv.dev/vulnerability/GHSA-fp3h-c4fm-7vvf","summary":"pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)","modified":"2026-10-01T17:56:15.156271717Z","packages":[{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf","ranges":["<6.18.1"],"fixed":["6.18.1"]}]},{"id":"PYSEC-2026-4154","url":"https://osv.dev/vulnerability/PYSEC-2026-4154","summary":"pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)","modified":"2026-10-01T17:45:13.795166761Z","packages":[{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf","ranges":["<6.18.1"],"fixed":["6.18.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}