CVE-2026-59338 · Spring / Spring AI
CVE-2026-59338 · Reported 2 Dec 2026
Full advisory details, affected packages, severity context, and original source.
Affected technology
Affected versions and fixes
Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.
Spring / Spring AI · semver / OSS
CVE vendor record- affected: From 2.0.0 (inclusive) · before 2.0.2.1 (exclusive) · semver
- affected: From 1.1.0 (inclusive) · before 1.1.10 (exclusive) · semver
- affected: From 1.0.0 (inclusive) · before 1.0.11 (exclusive) · semver
- affected: From 2.0.0 (inclusive) · before 2.0.3 (exclusive) · OSS
Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.
Advisory overview
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.
How Cevnitra tracks this
Cevnitra maps this NVD record onto Java inventories. Teams watching Spring / Spring AI get a watchlist hit when a scan or advisory refresh matches CVE-2026-59338.
