# CVE-2026-59338: Unbounded Tika text extraction can exhaust JVM memory

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.0.11, 1.1.10, 2.0.2.1, 2.0.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59338 · JSON: https://cvemate.com/vulnerability/CVE-2026-59338/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.377%, percentile 33.776%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring ai: ≥ 2.0.0, \< 2.0.2.1 \| ≥ 1.1.0, \< 1.1.10 \| ≥ 1.0.0, \< 1.0.11 \| ≥ 2.0.0, \< 2.0.3

## References

- <https://spring.io/security/cve-2026-59338>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&version=3.1>

---

Data as of 2026-12-05T04:05:13.860Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
