Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
6Blast 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.
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)
AnalysisAI
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.
Technical ContextAI
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.
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.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26013