Allocation of Resources Without Limits or Throttling in Spring AI - CVE-2026-59340

 

Allocation of Resources Without Limits or Throttling in Spring AI - CVE-2026-59340

Published: November 20, 2026


Vulnerability identifier: #VU168596
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59340
CWE-ID: CWE-770
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service by exhausting JVM memory.

The vulnerability exists due to a missing limit on cumulative per-page memory allocation in the text extraction logic shared by PagePdfDocumentReader and ParagraphPdfDocumentReader when processing untrusted PDFs. A remote user can supply a crafted PDF to exhaust JVM memory and disrupt service.

If ExitOnOutOfMemoryError is enabled, the JVM can terminate immediately instead of continuing to run with request failures.


Affected software

Spring AI

How to mitigate CVE-2026-59340

Install security update from vendor's website.

Spring AI - addressed in versions 1.0.11, 1.1.10, 2.0.2.1, 2.0.3

External References

Related Security Bulletins