Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2026-59338Published 12/2/2026

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.

Vendor advisory
CVSS 3.17.5High

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.

Published
12/2/2026
Last modified
12/2/2026
CVE assigner
vmware
NVD analysis
Awaiting Analysis

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Spring AI
Spring
≥ 2.0.0, < 2.0.2.1

Verify advisory

Source
Spring AI
Spring
≥ 1.1.0, < 1.1.10

Verify advisory

Source
Spring AI
Spring
≥ 1.0.0, < 1.0.11

Verify advisory

Source
Spring AI
Spring
≥ 2.0.0, < 2.0.3

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.5 · High CVSS 3.1

Scored by vmware

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

7.5 · High CVSS 3.1

Scored by security@vmware.com

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

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.