{"id":"CVE-2026-40980","published":"2026-04-28T07:31:24Z","modified":"2026-04-28T12:32:40Z","title":"In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when…","vendor":"Spring","product":"Spring AI","tier":"tail","description":{"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)","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.15431,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://spring.io/security/cve-2026-40980","tags":[]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":3.09},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring AI","versions":[">= 1.0.0, < 1.0.6",">= 1.1.0, < 1.1.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-28T12:32:31.966033Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.ai:spring-ai-pdf-document-reader","vulnerableRanges":[">=1.0.0, <1.0.6",">=1.1.0, <1.1.5"],"patched":["1.0.6","1.1.5"],"from":["GHSA-26gg-9gv2-v27j"],"provenance":"source"}],"summary":{"text":"In Spring AI, a flaw lies in the ForkPDFLayoutTextStripper component, which can be triggered by a maliciously crafted PDF file that causes the allocation of unreasonable amounts of memory. An attacker who can supply a crafted PDF to the affected component, with low privileges and no user interaction, can exhaust memory and disrupt availability; the attack is network-reachable and requires an account with low privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:13Z"},"euvd":{"id":"EUVD-2026-26013","exploited":false,"provenance":"source"}}