CVE-2016-2175: XML External Entity (XXE) vulnerability in org.apache.pdfbox:pdfbox

org.apache.pdfbox:pdfbox Updated 02 Oct 2025

Summary

17/10/2018
Yes i
High
7.8

CVE-2016-2175: High severity vulnerability that affects org.apache.pdfbox:pdfbox. Affects org.apache.pdfbox:pdfbox across 2 version ranges.

< 1.8.12 >= 2.0.0, < 2.0.1

Fixed in 1.8.12 or 2.0.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2016-2175 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

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 Java library for working with PDF documents. It provides functionality for creating, manipulating, and extracting data from PDF files. This vulnerability affects versions before 1.8.12 and 2.x before 2.0.1 of the library. The vulnerability lies in the improper initialization of XML parsers, which allows attackers to exploit XML External Entity (XXE) attacks through crafted PDF files.

Vulnerability Detail

The XML External Entity (XXE) vulnerability in org.apache.pdfbox:pdfbox allows context-dependent attackers to conduct attacks by exploiting the improper initialization of XML parsers. By crafting a malicious PDF file, an attacker can trigger the parsing of external entities, leading to various security risks. These risks include information disclosure, denial of service, and potential remote code execution.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.8.12 1.8.12
  • >= 2.0.0, < 2.0.1 2.0.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is strongly advised to update to the fixed versions mentioned above.

Conclusion

The XML External Entity (XXE) vulnerability in org.apache.pdfbox:pdfbox can be mitigated by updating to the fixed versions. It is important to promptly apply the recommended updates to ensure the security of your application. For further support on vulnerability remediation, you can contact DevNack.com.

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

Share this vulnerability

FAQ

org.apache.pdfbox:pdfbox is a Java library for working with PDF documents. It provides functionality for creating, manipulating, and extracting data from PDF files.

An XML External Entity (XXE) attack is a type of attack where an attacker exploits a vulnerability in an XML parser to access or manipulate external entities, leading to various security risks.

The potential risks of this vulnerability include information disclosure, denial of service, and potential remote code execution.

To fix this vulnerability, it is recommended to upgrade to version 1.8.12 or later for the 1.x branch, and version 2.0.1 or later for the 2.x branch of org.apache.pdfbox:pdfbox.

There is no known workaround for this vulnerability. It is strongly advised to update to the fixed versions mentioned above.

Related vulnerabilities

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

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.8.12 1.8.12
  • >= 2.0.0, < 2.0.1 2.0.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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