Resource exhaustion in Spring AI - CVE-2026-59338

 

Resource exhaustion in Spring AI - CVE-2026-59338

Published: November 20, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by exhausting the JVM heap.

The vulnerability exists due to unbounded buffering in Spring AI's TikaDocumentReader when extracting text from documents. A remote attacker can supply a document to an application that processes untrusted documents with this reader to trigger excessive heap allocation and potentially disrupt service.


Affected software

Spring AI

How to mitigate CVE-2026-59338

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