HighVulnerability
CVE-2026-59338: Spring AI TikaDocumentReader memory exhaustion from unbounded text extraction
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-59338
- Published
- Record updated
Summary
TikaDocumentReader in Spring AI uses Apache Tika to extract text from documents, and its default configuration disables Tika's built-in content-size limit, so extracted text is buffered in memory with no absolute bound. Apache Tika's relative guard against disproportionate output does not cap total extracted text. An application processing documents from untrusted sources may be induced to allocate excessive memory, potentially exhausting JVM heap and causing a denial of service.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database