← Vulnerabilities

HighAdvisorySpringJava

cve-2026-59345 - HIGH - Denial 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 us…

Read on Spring Security Advisories

On 11/19/2026, 09:00 AM, Spring Security Advisories published "cve-2026-59345 - HIGH - Denial of Service via regex-recursion" (type: Advisory). Severity is "High" (high). Related technologies: Spring, Java. CVE: CVE-2026-59345.