Spring AI TikaDocumentReader can exhaust JVM memory
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Spring AI versions from 1.0.0 before 1.0.11, from 1.1.0 before 1.1.10, and from 2.0.0 before 2.0.2.1 or from 2.0.0 before 2.0.3 are affected. The default configuration of TikaDocumentReader disables Apache Tika's content size limit, so extracted text is buffered in memory with no absolute bound. An attacker who can supply a large document to an application that processes untrusted input, such as uploaded files or URLs, can exhaust the JVM heap and cause a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
TikaDocumentReader in Spring AI uses Apache Tika to extract text from documents. Its default configuration disables Tika's built-in content-size limit, so the extracted text of a parsed document is buffered in memory with no absolute bound. Apache Tika still aborts a parse when the extracted text is disproportionate to the size of the input, which rejects highly compressed inputs such as archive bombs, but that guard is relative to the input and places no ceiling on the total amount of text extracted. An application that uses TikaDocumentReader to process documents from an untrusted source (e.g., user-uploaded files or attacker-supplied URLs) may therefore be induced to allocate an excessive amount of memory while parsing a sufficiently large document, potentially exhausting available JVM heap and causing a denial of service.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring AI | 2.0.0 to before 2.0.2.1; 1.1.0 to before 1.1.10; 1.0.0 to before 1.0.11; 2.0.0 to before 2.0.3 | 2.0.2.1, 1.1.10, 1.0.11, 2.0.3 | Patch available | CNA |
- Spring AI VendorVMware Affected 2.0.0 to before 2.0.2.1; 1.1.0 to before 1.1.10; 1.0.0 to before 1.0.11; 2.0.0 to before 2.0.3 Fixed in 2.0.2.1, 1.1.10, 1.0.11, 2.0.3 Patch available CNA
Remediation
Upgrade Spring AI to 1.0.11, 1.1.10, 2.0.2.1 or 2.0.3, matching the release line in use. The sources list no advisory identifiers for these fixes.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring AI (Spring) Fixed in 2.0.2.1, 1.1.10, 1.0.11, 2.0.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Spring AI 1.0.11, 1.1.10 and 2 more versions
9 records Highest priority Priority MEDIUM 7 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-101993 Cross-user cache leak and poisoning in Spring AI Redis semantic cachePriority MEDIUM 54
- TI-2026-101956 Spring AI Typesense filter injection bypasses tenant isolationPriority MEDIUM 48
- TI-2026-101949 RediSearch query injection in Spring AI RedisVectorStore filtersPriority MEDIUM 48
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59338
- 2026-12-02 Alias added: GHSA-g875-7889-m4p6
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59338 · CVE Program
- CVE-2026-59338 · NVD
- GHSA-g875-7889-m4p6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences