EnvMap GitHub

CVE-2026-59345

Denial of Service via regex-recursion

EPSS 0.37%Awaiting Analysis

Description

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.

In the words of the organisation that published it (vmware).

Severity

  • 7.5 High · CVSS 3.1 from security@vmware.com · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

  • Spring AI: from 2.0.0 before 2.0.2.1; from 1.1.0 before 1.1.10; from 1.0.0 before 1.0.11; from 2.0.0 before 2.0.3

as the publisher (vmware) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.37% chance of exploitation in the next 30 days, higher than 33% of all CVEs (as of 4 December 2026).

References

Record

Published08:17 UTC, 2 December 2026
Last changed19:26 UTC, 2 December 2026
NVD statusAwaiting Analysis
Published byvmware

CVE-2026-59345 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.