6.5

CVE-2026-40980: spring spring ai Uncontrolled Resource Consumption

CVSS: 6.5v3.1MediumAnalyzed
AliasesGHSA-26gg-9gv2-v27j
Published 28-04-2026Last modified 28-04-2026

Vulnerability summary

CVE-2026-40980 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in spring spring ai. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.8% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.42%
0%100%
Low · +0.18 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 28-04-2026
    PublishedVulnerability first disclosed.
  2. 28-04-2026
    Last 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

EPSS trend

Probability

0.42%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

+0.18 pp

From 0.24% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

References

3 links