PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to a denial of service when processing untrusted PDF input.
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 proces
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Spring
- Product
- Spring AI
- CVSS v3.1
- 6.5 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD status
- Received
Why it ranks 18 (Routine)
- CVSS v3.1 6.5 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2026-59340 on this site · NVD · CVE.org · Vulnpedia