Uncontrolled Memory Allocation in Spring AI - CVE-2026-40980
Published: April 27, 2026
Spring AI
Detailed vulnerability description
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to uncontrolled memory allocation in ForkPDFLayoutTextStripper when processing a crafted PDF file. A remote user can supply a malicious PDF file to cause a denial of service.
Only applications that use ForkPDFLayoutTextStripper and pass user-supplied input to DocumentReaders are vulnerable.