patchminder
Proof of concept · GitHub CVE-2026-59340

Denial of servicein Spring AI.

Published 23 Nov 2026 · Updated 24 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade Spring AI to 1.0.11, 1.1.10, 2.0.2.1, 2.0.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Spring AI
2.0.0 to before 2.0.3
2.0.3
CVE record
Spring AI
1.1.0 to before 1.1.10
1.1.10
CVE record
Spring AI
1.0.0 to before 1.0.11
1.0.11
CVE record
Spring AI
2.0.0 to before 2.0.2.1
2.0.2.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 4 Jul 2026
    CVE ID reserved by vmware.
  2. 23 Nov 2026
    Published in the CVE List.
  3. 23 Nov 2026
    First public proof of concept on GitHub.
  4. 24 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-593400 stars · created 23 Nov 2026Spring AI PDF layout stripper: per-gap caps but no page total · crafted PDF allocates unbounded TextLine objects and exhausts JVM heap. Verbatim addNewLine guard from f461b2b^ vs fix: 50k lines on v

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other AI vulnerabilities

Same weakness: Allocation without limits

All CWE-770 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-59340: Denial of service in Spring AI. https://patchminder.com/cve/cve-2026-59340/ (accessed 5 December 2026).