CVE-2026-59340
published medium CVSS 3.1 · 6.5Denial of Service via crafted PDF in PagePdfDocumentReader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring AI2.0.0 to < 2.0.3 · 1.1.0 to < 1.1.10 · 1.0.0 to < 1.0.11 · 2.0.0 to < 2.0.2.1 | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring AI | 2.0.0 to < 2.0.3 (affected · oss)1.1.0 to < 1.1.10 (affected · enterprise only)1.0.0 to < 1.0.11 (affected · enterprise support only)2.0.0 to < 2.0.2.1 (affected · enterprise only) | vmware · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
1Provider assertions
2vmware · cna
Denial of Service via crafted PDF in PagePdfDocumentReader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3316b2b44ef8d5786da802ac739779723d90fc8559640ed586bf3b15906a12e0
- Ingested
- 24 Nov 2026, 15:03:46 UTC
- Source record
- Official CVE record