CVE-2026-59340: medium-severity vulnerability in Spring AI
Denial of Service via crafted PDF in PagePdfDocumentReader
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 6.5epss 0.5%
from disclosure to weaponsame day
Published on NVDNov 23
1st PoCNov 23
PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to a denial of service when processing untrusted PDF input.
The underlying text extraction logic reconstructs layout from a PDF's glyph positions and limits how much memory can be allocated for any single computed gap, but does not limit the cumulative allocation across an entire page.
A specially crafted PDF can exploit this to force excessive memory allocation during processing, resulting in OutOfMemoryError.
Depending on JVM configuration, this can cause request failures with degraded service under repeated exploitation, or immediate JVM termination when ExitOnOutOfMemoryError options are used.
Any application that processes PDFs from untrusted sources (document upload, email attachment processing, RAG ingestion, web crawling) using either affected reader is impacted.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
Spring · Spring AIpublic PoCs found — 1
githubgithub.com/googlesky/CVE-2026-59340★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — Spring AI
In the same product, most dangerous first.
CVE-2026-22738CRITICALSpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code ExecutionEPSS 1.2%CVE-2026-59415HIGHTypesenseVectorStore doDelete filter injection via document ID allows unintended document deletionEPSS 0.8%CVE-2026-59442HIGHBroken Logical Grouping Expression in TypesenseFilterExpressionConverterEPSS 0.7%CVE-2026-59417CRITICALCross-User Information Disclosure and Cache Poisoning in Spring AI Redis Semantic CacheEPSS 0.6%CVE-2026-47851HIGHUnbounded recursion over attacker-controlled PDF outline tree in Spring AI PDF Document ReaderEPSS 0.6%CVE-2026-59336LOWIncomplete SSRF blocklist in spring-ai-bedrock-converse URLValidatorEPSS 0.5%