CVE Catalog

CVE-2026-40980

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

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 are 1.0.0-1.0.5 (fixed in 1.0.6) and 1.1.0-1.1.4 (fixed in 1.1.5).

Risk Assessment

Processing a crafted PDF may lead to memory exhaustion and denial of service of the application using Spring AI.

Recommendation

Upgrade Spring AI to version 1.0.6 or 1.1.5 (or later) and consider limiting the size of processed PDF files.

Other vulnerabilities in Spring AI

See all
Original NVD description (English source)

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)

Vulnerability data from NVD (NIST) · CISA KEV · EPSS