## cve-2026-59340 - MEDIUM - Denial of Service via crafted PDF in PagePdfDocumentReader

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59340
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59340)
- パーマリンク: https://vulnpulse.app/items/spring-security-1a7813fe84e8

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, o…