## cve-2026-59338 - HIGH - Unbounded Tika text extraction can exhaust JVM memory

- 種別: advisory
- 重大度: high
- 関連技術: spring, java
- CVE: CVE-2026-59338
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59338)
- パーマリンク: https://vulnpulse.app/items/spring-security-fd3c9b2c3e04

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…