{"id":"CVE-2026-71870","title":"pypdf is a free and open-source pure-python PDF library","summary":"pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a fo…","severity":"medium","cwe":["CWE-400"],"vendor":"pypdf","product":"pypdf","affected":["pypdf < 6.15.0"],"patched":["pypdf 6.15.0"],"published":"2026-08-07","updated":"2026-09-09","sourceUpdated":"2026-09-09T20:58:37.713","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-71870","references":[{"url":"https://github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa","label":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/pull/3944","label":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.15.0","label":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-fp3f-mc75-235c"},{"url":"https://github.com/py-pdf/pypdf"}],"tags":["nvd","ghsa","pip","osv"],"epss":0.00127,"epssPercentile":0.02695,"aliases":["GHSA-fp3f-mc75-235c","PYSEC-2026-3655"],"ecosystem":"pip","ingestedAt":"2026-08-07T20:16:41.557Z","slug":"CVE-2026-71870","body":"## Overview\n\npypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-71870)\n\nAffected packages:\n\n- `pypdf < 6.15.0`\n\nPatched in:\n\n- `pypdf 6.15.0`\n\nSource: https://github.com/advisories/GHSA-fp3f-mc75-235c","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}