CVE-2026-59345
HIGH 7.5CVSS 3.1Denial of Service via regex-recursion
ExtractedTextFormatter is vulnerable to a denial of service when processing untrusted text extracted from documents.
trimAdjacentBlankLines() and alignToLeft() collapse runs of blank lines using regular expressions with a quantified group, and Java's backtracking regex engine recurses one stack frame per repetition of that group.
A specially crafted document can exploit this to exhaust the calling thread's stack, resulting in an uncaught StackOverflowError.
This crashes the thread processing the document; repeated submissions against a bounded worker pool can degrade or deny service to all users, even though any single crash is thread-local rather than JVM-wide.
Any application that processes documents from untrusted sources (document upload, email attachment processing, RAG ingestion, web crawling) through TikaDocumentReader, PagePdfDocumentReader, or ParagraphPdfDocumentReader is impacted, regardless of file type.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security@vmware.com
- NVD status
- Awaiting Analysis
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | vmware | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Spring | Spring AI | >= 2.0.0, < 2.0.2.1; >= 1.1.0, < 1.1.10; >= 1.0.0, < 1.0.11; >= 2.0.0, < 2.0.3 | 2.0.2.1, 1.1.10, 1.0.11, 2.0.3 |
References
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&version=3.1
- https://spring.io/security/cve-2026-59345
History
- 2 Dec 2026 19:36 UTC · NVD: status Received → Awaiting Analysis
- 2 Dec 2026 08:19 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 07:42 UTC · CVE List: first stored (published 2 Dec 2026)