# CVE-2026-40980: Spring AI Vulnerable to OOM by attacker-controlled PDF

- Severity: Medium 6.5 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2026-04-28T07:31:24.041Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-26gg-9gv2-v27j
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayoutTextStripper`.

Affected versions:
Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

(As written by CVE List.)

## Affected

- Spring Spring AI: from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5
- org.springframework.ai:spring-ai-pdf-document-reader (Maven): from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5
- vmware spring_ai: from 1.0.0 before 1.0.6; from 1.1.0 before 1.1.5

## Every score

- vmware: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://spring.io/security/cve-2026-40980> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40980> (advisory)
- <https://github.com/spring-projects/spring-ai> (package)

## Sources

- CVE List: [CVE-2026-40980](https://www.cve.org/CVERecord?id=CVE-2026-40980), CVE Terms of Use, modified 2026-04-28
- GitHub Advisory Database: [GHSA-26gg-9gv2-v27j](https://github.com/advisories/GHSA-26gg-9gv2-v27j), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-40980](https://nvd.nist.gov/vuln/detail/CVE-2026-40980), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40980 · Whole record: https://cve.day/CVE-2026-40980.json · Rebuilt by cve.day 2026-11-25T22:59:19.876Z
