Red Hat Lightwell has released org.apache.pdfbox:pdfbox 2.0.19.rhlw-00001 with a backported security fix.
CVE-2021-27807: A carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.
This patched artifact is a drop-in replacement for org.apache.pdfbox:pdfbox 2.0.19 from Maven Central.