Apache Pdfbox vulnerabilities

9 vulnerabilities

Known vulnerabilities in Apache Pdfbox, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-33929apache software foundation · apache pdfbox examples +6 moreApache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example CodeImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples. This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7. Users are recommended to update to version 2.0.37 or 3.0.8 once available. Until then, they should apply the fix provided in GitHub PR 427. The ExtractEmbeddedFiles example contained a path traversal vulnerability (CWE-22) mentioned in CVE-2026-23907. However the change in the releases 2.0.36 and 3.0.7 is flawed because it doesn't consider the file path separator. Because of that, a user having writing rights on /home/ABC could be victim to a malicious PDF resulting in a write attempt to any path starting with /home/ABC, e.g. "/home/ABCDEF". Users who have copied this example into their production code should apply the mentioned change. The example has been changed accordingly and is available in the project repository.CVSS4.3MediumEPSS0.72%RoutineCVE-2021-31812apache software foundation · apache pdfbox +13 moreA carefully crafted PDF file can trigger an infinite loop while loading the fileIn Apache PDFBox, a carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.23 and prior 2.0.x versions.CVSS5.5MediumEPSS3.05%RoutineCVE-2021-31811apache software foundation · apache pdfbox +18 moreA carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny fileIn Apache PDFBox, a carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file. This issue affects Apache PDFBox version 2.0.23 and prior 2.0.x versions.CVSS5.5MediumEPSS3.57%RoutineCVE-2021-27906apache software foundation · apache pdfbox +23 moreA carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the fileThis issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.CVSS5.5MediumEPSS3.34%RoutineCVE-2021-27807apache software foundation · apache pdfbox +19 moreA carefully crafted PDF file can trigger an infinite loop while loading the fileThis issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.CVSS5.5MediumEPSS2.99%PrioritiseCVE-2019-0228apache · james +14 moreapache jamesApache PDFBox 2.0.14 does not properly initialize the XML parser, which allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted XFDF.CVSS9.8CriticalEPSS7.09%RoutineCVE-2018-11797apache software foundation · apache pdfbox +9 moreapache software foundation apache pdfboxIn Apache PDFBox 1.8.0 to 1.8.15 and 2.0.0RC1 to 2.0.11, a carefully crafted PDF file can trigger an extremely long running computation when parsing the page tree.CVSS5.5MediumEPSS3.50%RoutineCVE-2018-8036apache software foundation · apache pdfbox +7 moreapache software foundation apache pdfboxIn Apache PDFBox 1.8.0 to 1.8.14 and 2.0.0RC1 to 2.0.10, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in Apache PDFBox's AFMParser.CVSS6.5MediumEPSS3.93%RoutineCVE-2016-2175apache · pdfbox +5 moreapache pdfboxApache PDFBox before 1.8.12 and 2.x before 2.0.1 does not properly initialize the XML parsers, which allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted PDF.CVSS7.8HighEPSS3.84%