Denial of Service via crafted PDF in PagePdfDocumentReader
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring AI | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring Ai |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.411% probability within 30 days)
| Link | Providers |
|---|---|
| https://spring.io/security/cve-2026-59340 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-400 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-770 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-400 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Spring
Spring spring Ai |
|
| Vendors & Products |
Spring
Spring spring Ai |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Denial of Service via crafted PDF in PagePdfDocumentReader | |
| References |
| |
| Metrics |
cvssV3_1
|