Skip to content
MediumVulnerability

CVE-2026-59340: PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to a denial of service when processing untrusted…

Identifier
CVE-2026-59340
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to denial of service when processing untrusted PDF input. Their text extraction logic reconstructs layout from glyph positions and caps memory for any single computed gap, but not the cumulative allocation across a whole page. A specially crafted PDF can force excessive memory allocation, causing OutOfMemoryError, which degrades service under repeated exploitation or terminates the JVM when ExitOnOutOfMemoryError is set.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.