Skip to content
MediumVulnerability

CVE-2026-40980: Spring AI memory exhaustion from malicious PDF file handling

Identifier
CVE-2026-40980
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

CVE-2026-40980 affects Spring AI versions 1.0.0 through 1.0.5 and 1.1.0 through 1.1.4. A malicious PDF file can be crafted to make `ForkPDFLayoutTextStripper` allocate unreasonable amounts of memory when it processes the file.

Mitigation

Fixed in 1.0.6 for the 1.0.x line and in 1.1.5 for the 1.1.x line.