CVE-2026-40980: In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memo
CVE-2026-40980 is a medium-severity flaw (CVSS 6.5) affecting spring ai. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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)
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2026-04-28 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40980?
spring ai: upgrade to 1.0.6, 1.1.5. Exact commands for each OS are on this page.
Is CVE-2026-40980 being exploited?
CVE-2026-40980 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40980 affect?
CVE-2026-40980 affects spring ai. Severity is medium (CVSS 6.5). 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 (fixe
How urgent is CVE-2026-40980?
Priority 26/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-40967 HIGH 8.6 UPGRADE In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translat
- CVE-2026-40978 HIGH 8.8 UPGRADE SQL injection vulnerability in Spring AI's `CosmosDBVectorStore` allows attackers to execute arbitrary SQL que
- CVE-2026-22743 HIGH 7.5 UPGRADE Spring AI's spring-ai-neo4j-store contains a Cypher injection vulnerability in Neo4jVectorFilterExpressionConv
- CVE-2026-22738 CRITICAL 9.8 UPGRADE In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as
- CVE-2026-22742 HIGH 8.6 UPGRADE Spring AI's spring-ai-bedrock-converse contains a Server-Side Request Forgery (SSRF) vulnerability in BedrockP