{"api_version":"1","generated_at":"2026-12-02T18:08:57+00:00","cve":"CVE-2026-59345","urls":{"html":"https://cve.report/CVE-2026-59345","api":"https://cve.report/api/cve/CVE-2026-59345.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59345","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59345"},"summary":{"title":"Denial of Service via regex-recursion","description":"ExtractedTextFormatter is vulnerable to a denial of service when processing untrusted text extracted from documents.\n\n 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.\nA specially crafted document can exploit this to exhaust the calling thread's stack, resulting in an uncaught StackOverflowError.\nThis 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.\nAny 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.","state":"PUBLISHED","assigner":"vmware","published_at":"2026-12-02 08:17:39","updated_at":"2026-12-02 08:17:39"},"problem_types":[],"metrics":[{"version":"3.1","source":"security@vmware.com","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"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","name":"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","refsource":"security@vmware.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://spring.io/security/cve-2026-59345","name":"https://spring.io/security/cve-2026-59345","refsource":"security@vmware.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59345","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59345","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Spring","product":"Spring AI","version":"affected 2.0.0 2.0.2.1 semver","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring AI","version":"affected 1.1.0 1.1.10 semver","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring AI","version":"affected 1.0.0 1.0.11 semver","platforms":[]},{"source":"CNA","vendor":"Spring","product":"Spring AI","version":"affected 2.0.0 2.0.3 OSS","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"The issue was discovered internally and independently reported by Sai Sreewathsa Kovalluri, Kannan K and Shon Babu (Researchers) of Innspark Solutions ( https://innspark.in/ )","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"Spring AI","vendor":"Spring","versions":[{"lessThan":"2.0.2.1","status":"affected","version":"2.0.0","versionType":"semver"},{"lessThan":"1.1.10","status":"affected","version":"1.1.0","versionType":"semver"},{"lessThan":"1.0.11","status":"affected","version":"1.0.0","versionType":"semver"},{"lessThan":"2.0.3","status":"affected","version":"2.0.0","versionType":"OSS"}]}],"credits":[{"lang":"en","value":"The issue was discovered internally and independently reported by Sai Sreewathsa Kovalluri, Kannan K and Shon Babu (Researchers) of Innspark Solutions ( https://innspark.in/ )"}],"descriptions":[{"lang":"en","value":"ExtractedTextFormatter is vulnerable to a denial of service when processing untrusted text extracted from documents.\n\n 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.\nA specially crafted document can exploit this to exhaust the calling thread's stack, resulting in an uncaught StackOverflowError.\nThis 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.\nAny 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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T07:09:29.559Z","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","shortName":"vmware"},"references":[{"url":"https://spring.io/security/cve-2026-59345"},{"url":"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"}],"title":"Denial of Service via regex-recursion"}},"cveMetadata":{"assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","assignerShortName":"vmware","cveId":"CVE-2026-59345","datePublished":"2026-12-02T07:09:29.559Z","dateReserved":"2026-07-04T18:14:34.673Z","dateUpdated":"2026-12-02T07:09:29.559Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 08:17:39","lastModifiedDate":"2026-12-02 08:17:39","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"security@vmware.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"59345","Ordinal":"1","Title":"Denial of Service via regex-recursion","CVE":"CVE-2026-59345","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"59345","Ordinal":"1","NoteData":"ExtractedTextFormatter is vulnerable to a denial of service when processing untrusted text extracted from documents.\n\n 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.\nA specially crafted document can exploit this to exhaust the calling thread's stack, resulting in an uncaught StackOverflowError.\nThis 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.\nAny 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.","Type":"Description","Title":"Denial of Service via regex-recursion"}]}}}