Skip to main content
VulnerabilityPublished

CVE-2026-59338: TikaDocumentReader

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-59338· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 2.0.3 : patch Spring AI soon.

Data as of 2 Dec 2026, 10:29 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
SpringSpring AIAffected
  • >=2.0.0 <2.0.3
Fixed in
  • 2.0.3
SpringSpring AIAffected
  • >=2.0.0 <2.0.2.1
Fixed in
  • 2.0.2.1
SpringSpring AIAffected
  • >=1.1.0 <1.1.10
Fixed in
  • 1.1.10
SpringSpring AIAffected
  • >=1.0.0 <1.0.11
Fixed in
  • 1.0.11

AI-suggested

Users should apply their own limits on document size or extracted text size when using TikaDocumentReader with untrusted inputs to prevent excessive memory consumption. Monitor vendor advisories for any forthcoming patches or configuration updates.

Description

The TikaDocumentReader component in Spring AI uses Apache Tika to extract text from documents but disables Tika's built-in content-size limit by default. This allows the extracted text to be buffered in memory without an absolute size limit. Although Apache Tika aborts parsing when the extracted text is disproportionate to the input size, this relative check does not prevent excessive memory allocation for large documents. Consequently, processing documents from untrusted sources can lead to excessive JVM heap usage and potential denial of service.

References

Community reviews

Loading reviews…