Resource exhaustion in Spring AI - CVE-2026-59338
Published: November 20, 2026
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.