CVE-2026-59338: Spring AI · Unbounded Tika text extraction can exhaust JVM memory
Affects Spring AISource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 2.0.3 : patch Spring AI soon.
Data as of 2 Dec 2026, 08:14 UTC
Thin evidence
One scorer or none| CNA (vmware) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 2.0.3, 2.0.2.1, 1.1.10 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade Spring AI to 2.0.3, 2.0.2.1, 1.1.10 or 1.0.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring AI | Affected
| Fixed in
|
| SpringSpring AI | Affected
| Fixed in
|
| SpringSpring AI | Affected
| Fixed in
|
| SpringSpring AI | Affected
| Fixed in
|
AI-suggested
Upgrade to fixed versions 2.0.3, 2.0.2.1, 1.1.10, or 1.0.11 or later where the content-size limit is properly enforced. No other mitigation is required as the vulnerability is addressed by these official fixes.
Description
CVE-2026-59338 is a vulnerability in Spring AI's TikaDocumentReader component that uses Apache Tika for text extraction. The default configuration disables Tika's content-size limit, allowing unbounded buffering of extracted text in memory. This can lead to excessive JVM heap memory consumption when processing large or maliciously crafted documents from untrusted sources, potentially causing a denial of service. Apache Tika does abort parsing if the extracted text is disproportionate to the input size, but this relative check does not impose an absolute limit on memory usage. Fixed versions addressing this issue are available.