PagePdfDocumentReader and ParagraphPdfDocumentReader contain a vulnerability that allows denial of service via excessive memory allocation when processing specially crafted PDF files. This occurs because the text extraction logic limits memory allocation per gap but not cumulatively across a page, potentially causing OutOfMemoryError and service disruption.