CVE-2026-40980
Spring AI Vulnerable to OOM by attacker-controlled PDF
Reported by vmware · Published April 28, 2026
spring-ai-pdf-document-reader is fixed in 1.1.5 and 1.0.6 (Maven Central)
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)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.ai:spring-ai-pdf-document-reader | Maven Central | 1.1.5, 1.0.6 |
| Spring AI | Spring | 1.1.5, 1.0.6 |
| spring_ai | vmware | 1.1.5, 1.0.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring AI | 1.0.0, 1.1.0 |
| Maven | org.springframework.ai:spring-ai-pdf-document-reader | 1.0.0, 1.1.0 |
| Spring | Spring AI | 1.0.0, 1.1.0 |
Timeline
- Apr 28, 2026 CVE Published
- Apr 28, 2026 PoC Published
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory
- Jul 24, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-40980
vulnetix vdb fixes CVE-2026-40980
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40980/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart