Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as authorized user
-
DeliveryUpload malicious PDF file
-
ExploitSpring AI processes PDF via ForkPDFLayoutTextStripper
-
ExecutionUncontrolled memory allocation triggered
-
PersistHeap exhaustion
-
ImpactApplication 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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- 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Incorrect authorization in Spring AI's tool-calling layer allows a tool that was never advertised to the current request
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
SQL injection in Spring AI's CosmosDBVectorStore component (versions 1.0.0-1.0.5 and 1.1.0-1.1.4) enables authenticated
A critical SQL injection vulnerability in Spring AI's MariaDBFilterExpressionConverter component allows authenticated at
Spring AI's AbstractFilterExpressionConverter fails to properly escape user-controlled input in JSONPath queries, allowi
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
Server-Side Request Forgery in Spring AI Bedrock Converse module enables unauthenticated remote attackers to force the a
Filter-expression injection in Spring AI's MilvusVectorStore allows remote unauthenticated attackers to manipulate vecto
Conversation memory poisoning in VMware Spring AI allows remote unauthenticated attackers to inject malicious input that
Query injection in the Spring AI vector-store modules - spring-ai-elasticsearch-store, spring-ai-opensearch-store and sp
Unbounded session accumulation in Spring AI 2.0.0's MCP Streamable HTTP server transport enables remote unauthenticated
Denial of service in Spring AI's PDF document ingestion crashes the processing thread when parsing a crafted PDF with a
EUVD-2026-26013
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB