# CVE-2026-40980

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-28 · Modified: 2026-04-28
- Aliases: GHSA-26gg-9gv2-v27j
- Record: https://cvemate.com/vulnerability/CVE-2026-40980 · JSON: https://cvemate.com/vulnerability/CVE-2026-40980/json

## 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`.

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)
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.25%, percentile 17.407%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.ai spring-ai-pdf-document-reader (Maven): ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5
- spring spring ai: ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5
- vmware spring\_ai: ≥ 1.0.0, \< 1.0.6 \| ≥ 1.1.0, \< 1.1.5

## References

- <https://spring.io/security/cve-2026-40980>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40980>
- <https://github.com/spring-projects/spring-ai>

---

Data as of 2026-12-05T04:10:40.390Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
