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.
Published: 2026-11-23
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Mon, 23 Nov 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400

Mon, 23 Nov 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Ai
Vendors & Products Spring
Spring spring Ai

Mon, 23 Nov 2026 10:30:00 +0000

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

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Spring Spring Ai
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-11-23T10:23:21.629Z

Reserved: 2026-07-04T18:14:34.672Z

Link: CVE-2026-59340

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-23T11:17:00.660

Modified: 2026-11-23T15:41:07.453

Link: CVE-2026-59340

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-23T12:30:22Z

Weaknesses