{"id":"CVE-2026-48155","published":"2026-05-28T14:51:49Z","modified":"2026-05-28T15:57:54Z","title":"pypdf: Possible large memory usage for large offsets for layout mode text","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.12.0, an 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. This vulnerability is fixed in 6.12.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00127,"percentile":0.02443,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-cj93-chg6-vgv8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3790","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":0.49},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.12.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-28T15:57:44.616233Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.12.0"],"patched":["6.12.0"],"from":["GHSA-cj93-chg6-vgv8","PYSEC-2026-3016"],"provenance":"source"}],"summary":{"text":"The flaw is in pypdf, a pure-Python PDF library, where text extraction in layout mode can consume excessive memory when processing large character offsets. An attacker who can get a victim to process a specially crafted PDF with layout-mode text extraction (requiring user interaction, with no authentication needed) can trigger large memory usage, causing resource exhaustion.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:13Z"},"euvd":{"id":"EUVD-2026-32914","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41312","published":"2026-04-22","fixed":"6.10.2","kev":false,"link":{"from":"CVE-2026-41312","to":"CVE-2026-48155","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.10.2","toFixed":"6.12.0","daysApart":36}]}},{"cve":"CVE-2026-41313","published":"2026-04-22","fixed":"6.10.2","kev":false},{"cve":"CVE-2026-41314","published":"2026-04-22","fixed":"6.10.2","kev":false},{"cve":"CVE-2026-48155","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48156","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48735","published":"2026-05-28","fixed":"6.12.1","kev":false,"link":{"from":"CVE-2026-48155","to":"CVE-2026-48735","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.12.0","toFixed":"6.12.1","daysApart":0}]}},{"cve":"CVE-2026-49460","published":"2026-06-22","fixed":"6.12.2","kev":false}],"package":"PyPI:pypdf"}}