CVE-2026-40980: spring spring ai Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-40980 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in spring spring ai. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17.4% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 28-04-2026PublishedVulnerability first disclosed.
- 28-04-2026Last modifiedVulnerability information updated.
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)
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Org.springframework.ai1 product
- spring-ai-pdf-document-reader≥ 1.0.0, < 1.0.6 | ≥ 1.1.0, < 1.1.5
Spring1 product
- spring ai≥ 1.0.0, < 1.0.6 | ≥ 1.1.0, < 1.1.5
Vmware1 product
- spring_ai≥ 1.0.0, < 1.0.6 | ≥ 1.1.0, < 1.1.5
3 vendors · 3 products