CVE-2026-59338
7.5HighPublished Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- —
What an attacker gets
Unauthenticated attackers can trigger a denial of service by uploading large documents. This exhausts the JVM heap memory because the parser lacks an absolute size limit.
Root cause
The TikaDocumentReader component fails to enforce an absolute memory limit on extracted text during document parsing.
Affected versions
Spring AI versions prior to 1.0.0-M5
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Upgrade Spring AI to version 1.0.0-M5 or later. If you cannot upgrade, restrict file uploads to trusted sources or implement strict file size validation before processing.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-594447.5HighAuthenticated attackers can achieve remote code execution by injecting malicious serialized objects into Redis lists. This requires the application to use default Java deserialization settings and have gadget chains available on the classpath.
- CVE-2026-594337.5HighUnauthenticated attackers can view sensitive credentials embedded in peer service URLs via the Eureka Server dashboard. This occurs if the dashboard is exposed and peer nodes are configured with embedded credentials.
- CVE-2026-594277.5HighUnauthenticated attackers can access sensitive, user-specific data that was incorrectly cached. This occurs when the gateway caches responses that should have been marked private or no-store.
- CVE-2026-594267.5HighUnauthenticated attackers can read sensitive responses intended for other users. This occurs when multiple routes share the same global cache without unique keys.
- CVE-2026-594257.5HighUnauthenticated attackers can cause a denial of service by exhausting socket and channel resources. This occurs by sending repeated requests to any route configured with the JsonToGrpc filter.
- CVE-2026-594179.1CriticalRemote attackers can access other users' private data or inject malicious content into the cache. This occurs because the cache lacks user, session, or tenant isolation.