CVE-2026-59340Spring AI vulnerability
CVSS score
6.5
Medium
CVSS 3.1 from vmware.com
Exploit probability (EPSS)
No EPSS score yet.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security@vmware.com
How to fix it, step by step
Check whether you're affected
Find every system running Spring AI and compare its version with the affected versions.
Update to a fixed version
- Update Spring AI to 1.0.11, 1.1.10, 2.0.2.1, 2.0.3 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| Spring Spring AI | ≥ 2.0.0, < 2.0.3 · ≥ 1.1.0, < 1.1.10 · ≥ 1.0.0, < 1.0.11 · ≥ 2.0.0, < 2.0.2.1 |
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-59340 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far.
What is the CVSS score of CVE-2026-59340?
CVE-2026-59340 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are affected?
Spring Spring AI (≥ 2.0.0, < 2.0.3; ≥ 1.1.0, < 1.1.10; ≥ 1.0.0, < 1.0.11; ≥ 2.0.0, < 2.0.2.1)
Is there a patch for CVE-2026-59340?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.