CVE-2019-0228: Vulnerability in org.apache.pdfbox:pdfbox

org.apache.pdfbox:pdfbox Updated 02 Oct 2025

Summary

05/07/2019
Yes i
Critical
9.8

CVE-2019-0228: Vulnerability that affects org.apache.pdfbox:pdfbox. Affects org.apache.pdfbox:pdfbox versions >= 2.0.14, < 2.0.15. Fixed in 2.0.15. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

org.apache.pdfbox:pdfbox is a Maven package that provides functionality for working with PDF documents. It is widely used for tasks such as reading, writing, and manipulating PDF files. However, version 2.0.14 of Apache PDFBox has a vulnerability that affects its XML parser initialization, making it susceptible to XML External Entity (XXE) attacks when processing crafted XFDF files.

Vulnerability Detail

The vulnerability in Apache PDFBox 2.0.14 arises from improper initialization of the XML parser. This flaw allows context-dependent attackers to exploit XML External Entity (XXE) attacks by supplying a specially crafted XFDF file. XXE attacks can lead to information disclosure, denial of service, or even remote code execution, depending on the attacker's capabilities. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

How To Fix

Minimum fixed version

2.0.15

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is strongly advised to update to the fixed version of org.apache.pdfbox:pdfbox as soon as possible.

Conclusion

The vulnerability in org.apache.pdfbox:pdfbox (CVE-2019-0228) allows for XML External Entity (XXE) attacks when processing crafted XFDF files. It is crucial to update to version 2.0.15 or later to fix this vulnerability and protect your application from potential information disclosure, denial of service, or remote code execution. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.pdfbox:pdfbox →

Share this vulnerability

FAQ

org.apache.pdfbox:pdfbox is a Maven package that provides functionality for working with PDF documents. It is commonly used for tasks such as reading, writing, and manipulating PDF files.

An XML External Entity (XXE) attack is a type of attack that exploits vulnerabilities in XML parsers. By injecting malicious XML entities, an attacker can potentially access sensitive information, perform denial of service attacks, or execute remote code.

This vulnerability can lead to various consequences depending on the attacker's capabilities. It may result in information disclosure, denial of service, or even remote code execution on the affected system.

The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

To fix this vulnerability, it is recommended to update to version 2.0.15 or later of org.apache.pdfbox:pdfbox. This version includes the necessary fixes to mitigate the XXE vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.pdfbox:pdfbox.

How To Fix

Minimum fixed version

2.0.15

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback