CVE-2019-0228 — pdfbox
CRITICALCVE-2019-0228 is a critical-severity (CVSS 9.8) XML External Entity (XXE) vulnerability in org.apache.pdfbox:pdfbox. A fix is available for org.apache.pdfbox:pdfbox — see the affected versions and patch details below.
Vulnerability that affects org.apache.pdfbox:pdfbox
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.pdfbox:pdfboxReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Apache 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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.pdfbox:pdfbox | ≥ 2.0.14&&< 2.0.15 | 2.0.15org.apache.pdfbox:pdfbox:2.0.15 |
Affected Products
jamesapachepdfboxapachefedorafedoraprojectbanking corporate lending process managementoraclebanking credit facilities process managementoraclebanking supply chain financeoracleDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.pdfbox:pdfbox, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.pdfbox:pdfbox to 2.0.15 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-0228 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2019-0228 in your dependencies?
Find it across Maven, including transitive dependencies.