CVE-2026-40980
Published:April 28, 2026
Updated:May 18, 2026
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)
Affected Packages
https://github.com/spring-projects/spring-ai.git (GITHUB):
Affected version(s) >=v1.1.0 <v1.1.5Fix Suggestion:
Update to version v1.1.5https://github.com/spring-projects/spring-ai.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.0.6Fix Suggestion:
Update to version v1.0.6org.springframework.ai:spring-ai-pdf-document-reader (JAVA):
Affected version(s) >=1.1.0 <1.1.5Fix Suggestion:
Update to version 1.1.5org.springframework.ai:spring-ai-pdf-document-reader (JAVA):
Affected version(s) >=1.0.0 <1.0.6Fix Suggestion:
Update to version 1.0.6Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
EPSS
Base Score:
0.06