CVE-2026-59340

published 23 Nov 2026 · updated 24 Nov 2026

Denial of Service via crafted PDF in PagePdfDocumentReader

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.0.11, 1.1.10, 2.0.2.1 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=1.0.0 <1.0.11, >=1.1.0 <1.1.10, >=2.0.0 <2.0.2.1, >=2.0.0 <2.0.31.0.11, 1.1.10, 2.0.2.1, 2.0.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-59340 severity on Zeptric[![CVE-2026-59340](https://zeptric.io/badge/cve/CVE-2026-59340.svg)](https://zeptric.io/cve/CVE-2026-59340)