{"id":"CVE-2026-27025","aliases":["GHSA-wgvp-vg3v-2xq3","PYSEC-2026-3024"],"url":"https://o3.security/vulnerability/CVE-2026-27025","summary":"pypdf has possible long runtimes/large memory usage for large /ToUnicode streams","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the `/ToUnicode` entry of a font with unusually large values, for example during text extraction.\n\n### Patches\n\nThis has been fixed in [pypdf==6.7.1](https://github.com/py-pdf/pypdf/releases/tag/6.7.1).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3646](https://github.com/py-pdf/pypdf/pull/3646).","published":"2026-02-20T21:11:20.441Z","modified":"2026-08-27T14:10:51.976011486Z","cvss":null,"epss":{"score":0.00168,"percentile":0.06223,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.7.1"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2","label":"py-pdf/pypdf@77d7b8d"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27025.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27025"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3646"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T14:10:51.976011486Z"}}