Skip to main content

Spring AI EUVDEUVD-2026-26013

| CVE-2026-40980 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-04-28 security@vmware.com
6.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as authorized user
  2. Delivery
    Upload malicious PDF file
  3. Exploit
    Spring AI processes PDF via ForkPDFLayoutTextStripper
  4. Execution
    Uncontrolled memory allocation triggered
  5. Persist
    Heap exhaustion
  6. Impact
    Application denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to be an authenticated user (PR:L in CVSS vector) and requires the application to process the malicious PDF through Spring AI's PDF text extraction functionality. Specifically, the ForkPDFLayoutTextStripper component must be actively invoked during PDF handling - applications that do not use PDF extraction features or that disable this component are not vulnerable. Exploitation is limited to the availability of the Spring AI instance (CVSS S:U indicates no scope expansion to other systems). No user interaction beyond submitting the malicious PDF is required.

Impact

CVSS 6.5 with AV:N/AC:L indicates network-accessible, low-complexity exploitation requiring authentication. The CVSS vector (PR:L) restricts exploitation to authenticated users, which significantly limits real-world risk compared to unauthenticated vectors. However, the High availability impact (A:H) confirms guaranteed denial of service. The threat model depends entirely on whether untrusted users can upload or submit PDFs to Spring AI applications - common in document processing, form handling, and AI-powered content analysis workflows. Organizations with strict upload validation or restricted PDF submission may face lower risk. The vulnerability is not network-propagating and requires deliberate submission of a malicious file, reducing likelihood of mass exploitation. Nevertheless, for systems processing user-submitted PDFs from semi-trusted or external sources, this represents a practical availability risk requiring prompt patching.

Exploit ScenarioDerived

An authenticated user with permission to submit documents or files for AI processing uploads a specially crafted malicious PDF. Spring AI's ForkPDFLayoutTextStripper attempts to extract text from the PDF and triggers uncontrolled memory allocation while parsing the malicious structure. The application's memory fills rapidly, causing out-of-memory exceptions and service crash. If multiple PDFs are processed simultaneously or repeatedly, the denial of service is amplified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Spring AI versions 1.0.0-1.0.5 and 1.1.0-1.1.4 are vulnerable to denial of service through uncontrolled resource consumption when processing maliciously crafted PDF files via the ForkPDFLayoutTextStripper component. Authenticated remote attackers can exhaust server memory and crash affected applications by uploading or processing specially designed PDFs. Vendor-released patches address the issue in versions 1.0.6 and 1.1.5.

RemediationAI

Upgrade Spring AI to version 1.0.6 (for 1.0.x users) or version 1.1.5 (for 1.1.x users) immediately per vendor advisory at https://spring.io/security/cve-2026-40980. If immediate upgrade is not feasible, implement application-level controls: restrict PDF upload/submission to authenticated users only (already required by CVSS), enforce strict file size limits on uploaded PDFs (e.g., max 10 MB), implement timeouts on PDF processing operations to prevent indefinite resource consumption, and consider disabling PDF text extraction features if not essential to business logic. Monitor application memory usage and set heap memory alarms to detect exploitation attempts. These controls mitigate but do not eliminate risk - patching is the primary remediation.

Affected VersionsENISA

Spring AI 1.0.0 <1.0.6
Spring AI 1.1.0 <1.1.5

Affected Packages

maven org.springframework.ai:spring-ai-pdf-document-reader fix: 1.0.6, 1.1.5
euvd spring_ai fix: 1.0.6, 1.1.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring AI is a Java-based framework for building AI-powered applications. The vulnerability exists in the PDF text extraction functionality, specifically in the ForkPDFLayoutTextStripper class which handles PDF parsing and text extraction. The root cause is improper validation of PDF structures that can trigger excessive memory allocation during processing (CWE-400: Uncontrolled Resource Consumption). When a malicious PDF is submitted for processing, the stripper fails to enforce reasonable limits on memory allocation, allowing crafted payloads to exhaust available heap memory and cause denial of service.

Know when Spring Ai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 18:15 nvd
Patch available
Patch available
Apr 28, 2026 - 10:01 EUVD
CVE Published
Apr 28, 2026 - 09:16 nvd
MEDIUM 6.5

DescriptionCVE.org

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)

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 maven packages depend on org.springframework.ai:spring-ai-pdf-document-reader (2 direct, 3 indirect)

Ecosystem-wide dependent count for version 1.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-59318 CRITICAL
9.8 Aug 21

Incorrect authorization in Spring AI's tool-calling layer allows a tool that was never advertised to the current request

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-40978 HIGH
8.8 Apr 28

SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated

CVE-2026-22730 HIGH
8.8 Mar 18

A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter component allows authenticated at

CVE-2026-22729 HIGH
8.6 Mar 18

Spring AI's AbstractFilterExpressionConverter fails to properly escape user-controlled input in JSONPath queries, allowi

CVE-2026-40967 HIGH
8.6 Apr 28

Filter expression injection in Spring AI 1.0.0-1.0.5 and 1.1.0-1.1.4 allows remote unauthenticated attackers to manipula

CVE-2026-22742 HIGH
8.6 Mar 27

Server-Side Request Forgery in Spring AI Bedrock Converse module enables unauthenticated remote attackers to force the a

CVE-2026-41705 HIGH
8.6 May 09

Filter-expression injection in Spring AI's MilvusVectorStore allows remote unauthenticated attackers to manipulate vecto

CVE-2026-41713 HIGH
8.2 May 12

Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that

CVE-2026-47835 HIGH
7.5 Jun 15

Query injection in the Spring AI vector-store modules - spring-ai-elasticsearch-store, spring-ai-opensearch-store and sp

CVE-2026-59279 HIGH
7.5 Aug 21

Unbounded session accumulation in Spring AI 2.0.0's MCP Streamable HTTP server transport enables remote unauthenticated

CVE-2026-47851 HIGH
7.5 Aug 26

Denial of service in Spring AI's PDF document ingestion crashes the processing thread when parsing a crafted PDF with a

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy