WaratekVRT Sign in

CVE-2016-2175 Apache PDFBox

Affected softwareApache PDFBox
Severity7.8 High CVSS 3.0 2 scores
Fixed in1.8.12, 2.0.1
WeaknessXML external entity (XXE) (CWE-611)
Published1 Jun 2016
Updated17 Jun 2026

Description

Apache 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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 10 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 3.8% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2016-2175

Upgrade Apache PDFBox to a release that fixes it: 1.8.12 or 2.0.1. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.8 HIGH v3.0 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 7.8 HIGH CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.pdfbox:pdfbox 0 1.8.12 unbounded
org.apache.pdfbox:pdfbox 2.0.0 2.0.1 unbounded

Products and versions

3 products, 19 version entries
SourceVendorProductSchemeAffected versions
nvd apache pdfbox generic 1.8.0 · 1.8.1 · 1.8.2 · 1.8.3 · 1.8.4 · 1.8.5 · 1.8.6 · 1.8.7 · 1.8.8 · 1.8.9 · 1.8.10 · 1.8.11 · 2.0 · 2.0:rc1 · 2.0:rc2 · 2.0:rc3
nvd debian debian linux generic 8.0
osv org.apache.pdfbox pdfbox generic < 1.8.12 · ≥ 2.0.0 and < 2.0.1

References

URLTags
https://github.com/advisories/GHSA-4c32-xmgj-2g98 ADVISORY
https://lists.apache.org/thread.html/ad5fbc86c1d1821ae1b963e8561ab6d6a5f66b2848e84f5a31477f54@%3Ccommits.tika.apache.org%3E WEB
http://mail-archives.us.apache.org/mod_mbox/www-announce/201605.mbox/%3C83a03bcf-f86b-4688-37b5-615c080291d8@apache.org%3E WEB
http://packetstormsecurity.com/files/137214/Apache-PDFBox-1.8.11-2.0.0-XML-Injection.html WEB
http://rhn.redhat.com/errata/RHSA-2017-0179.html WEB
http://rhn.redhat.com/errata/RHSA-2017-0248.html WEB
http://rhn.redhat.com/errata/RHSA-2017-0249.html WEB
http://rhn.redhat.com/errata/RHSA-2017-0272.html WEB
http://svn.apache.org/viewvc?view=revision&revision=1739564 WEB
http://svn.apache.org/viewvc?view=revision&revision=1739565 WEB

Timeline

Published2016-06-01By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.