{"id":"CVE-2026-59938","aliases":["GHSA-5qjq-93h5-hrgp","PYSEC-2026-3611"],"url":"https://o3.security/vulnerability/CVE-2026-59938","summary":"pypdf: Possible large memory usage for wrong image dimensions","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires loading images where the declared size values are much too large compared to the actual data.\n\n### Patches\n\nThis has been fixed in [pypdf==6.14.0](https://github.com/py-pdf/pypdf/releases/tag/6.14.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3888](https://github.com/py-pdf/pypdf/pull/3888).","published":"2026-07-08T17:24:29.959Z","modified":"2026-10-21T02:31:01.744495917Z","cvss":null,"epss":{"score":0.00515,"percentile":0.42712,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.14.0"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7a","label":"py-pdf/pypdf@c64583b"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.14.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59938.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59938"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7a"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3888"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:31:01.744495917Z"}}