{"id":"CVE-2026-48155","aliases":["GHSA-cj93-chg6-vgv8","PYSEC-2026-3016"],"url":"https://o3.security/vulnerability/CVE-2026-48155","summary":"pypdf: Possible large memory usage for large offsets for layout mode text","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires extracting text in layout mode with large character offsets.\n\n### Patches\n\nThis has been fixed in [pypdf==6.12.0](https://github.com/py-pdf/pypdf/releases/tag/6.12.0).\n\n### Workarounds\n\nIf developers are unable to immediately upgrade, they should consider applying the changes from PR [#3790](https://github.com/py-pdf/pypdf/pull/3790).","published":"2026-05-28T14:51:49.411Z","modified":"2026-10-21T02:58:18.218801084Z","cvss":null,"epss":{"score":0.00127,"percentile":0.02645,"asOf":"2026-09-01"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.12.0"}],"fix":{"url":"https://github.com/py-pdf/pypdf/pull/3790","label":"py-pdf/pypdf#3790"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48155.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-cj93-chg6-vgv8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48155"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3790"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:58:18.218801084Z"}}