{"id":"CVE-2026-40980","aliases":["CVE-2026-40980","GHSA-26gg-9gv2-v27j"],"related":[],"kind":"vulnerability","state":"published","title":"Spring AI Vulnerable to OOM by attacker-controlled PDF","summary":"In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayoutTextStripper`.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayoutTextStripper`.\n\nAffected versions:\nSpring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)","source":"cvelist"},{"lang":"es","text":"En Spring AI, un archivo PDF malicioso puede ser creado que desencadena la asignación de cantidades irrazonables de memoria cuando es manejado por ’ForkPDFLayoutTextStripper’.\n\nVersiones afectadas:\nSpring AI: 1.0.0 - 1.0.5 (corregido en 1.0.6), 1.1.0 - 1.1.4 (corregido en 1.1.5)","source":"nvd"}],"published":"2026-04-28T07:31:24.041Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"1.0.0","fixed":"1.0.6","status":"affected"},{"type":"custom","introduced":"1.1.0","fixed":"1.1.5","status":"affected"}],"vendor":"Spring","product":"Spring AI","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"1.0.6"}],"ecosystem":"Maven","package":"org.springframework.ai:spring-ai-pdf-document-reader","purl":"pkg:maven/org.springframework.ai/spring-ai-pdf-document-reader","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.1.0","status":"affected","fixed":"1.1.5"}],"ecosystem":"Maven","package":"org.springframework.ai:spring-ai-pdf-document-reader","purl":"pkg:maven/org.springframework.ai/spring-ai-pdf-document-reader","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.0.6"},{"status":"affected","introduced":"1.1.0","fixed":"1.1.5"}],"vendor":"vmware","product":"spring_ai","cpe":"cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-40980","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40980","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-ai","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-28T12:32:31.966Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40980","url":"https://www.cve.org/CVERecord?id=CVE-2026-40980","licence":"CVE Terms of Use","modified":"2026-04-28T12:32:40.140Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-26gg-9gv2-v27j","url":"https://github.com/advisories/GHSA-26gg-9gv2-v27j","licence":"CC-BY-4.0","modified":"2026-05-06T20:11:26.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40980","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40980","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.876Z","epss":{"score":0.0025,"percentile":0.17423,"date":"2026-12-02T12:00:21.000Z"}}