Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Apache

CVE-2026-59338 — Spring AI

High · CVSS 7.5 First seen December 02, 2026

One of 10 Spring AI vulnerabilities published together by NVD: our article covers all of them.

ApacheWebAIVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (vmware.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected and fixed versions

ProductAffected versionsFixed in
Spring AI≥ 2.0.0, < 2.0.2.12.0.2.1
≥ 1.1.0, < 1.1.101.1.10
≥ 1.0.0, < 1.0.111.0.11
≥ 2.0.0, < 2.0.32.0.3

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • Spring AI

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-59338?

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.

How severe is CVE-2026-59338?

CVE-2026-59338 has a CVSS 3.1 base score of 7.5 (high), from the CNA (vmware.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-59338 being exploited?

Not as far as is known: CVE-2026-59338 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.

Which versions are affected by CVE-2026-59338?

Spring AI ≥ 2.0.0, < 2.0.2.1 (fixed in 2.0.2.1); Spring AI ≥ 1.1.0, < 1.1.10 (fixed in 1.1.10); Spring AI ≥ 1.0.0, < 1.0.11 (fixed in 1.0.11); Spring AI ≥ 2.0.0, < 2.0.3 (fixed in 2.0.3).

How do I fix CVE-2026-59338?

Update to a fixed release: Spring AI 2.0.2.1; Spring AI 1.1.10; Spring AI 1.0.11.

Timeline & sources

References

Related vulnerabilities & news