{"id":"spring-security-9070b6ca04c3","seq":8522076,"kind":"advisory","title":"cve-2026-59345 - HIGH - Denial of Service via regex-recursion","url":"https://spring.io/security/cve-2026-59345","permalink":"https://vulnpulse.app/items/spring-security-9070b6ca04c3","summary":"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…","severity":"high","cvss":null,"techs":["spring","java"],"cves":["CVE-2026-59345"],"tags":["security"],"source":{"id":"spring-security","name":"Spring Security Advisories"},"published_at":"2026-11-19T00:00:00.000Z","fetched_at":"2026-11-19T23:14:51.142Z"}