CVE-2016-2175 · redhat
CVE-2016-2175
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.
Published 2016-06-01, last changed 2026-06-17.
How to fix
Upgrade to a fixed version: org.apache.pdfbox:pdfbox 1.8.12, 2.0.1 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in apache/pdfbox by 17e7a5d573, 6eb3ad2627. Functions changed by the fix: parse, getDocument, DomXmpParser. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-06-01 | Published |
| 2018-10-17 | Package advisory GHSA-4c32-xmgj-2g98 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.84% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-4c32-xmgj-2g98 | org.apache.pdfbox:pdfbox (Maven) | 1.8.12 |
| GHSA-4c32-xmgj-2g98 | org.apache.pdfbox:pdfbox (Maven) | 2.0.1 |
Also known as: GHSA-4c32-xmgj-2g98
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2021-31812 | 2021-06-12 | 5.5 | A carefully crafted PDF file can trigger an infinite loop while loading the file |
| CVE-2021-31811 | 2021-06-12 | 5.5 | A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file |
| CVE-2021-27906 | 2021-03-19 | 5.5 | A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file |
| CVE-2021-27807 | 2021-03-19 | 5.5 | A carefully crafted PDF file can trigger an infinite loop while loading the file |
| CVE-2019-0228 | 2019-04-17 | 9.8 | same package: org.apache.pdfbox:pdfbox (Maven) |
| CVE-2018-11797 | 2018-10-05 | 5.5 | same package: org.apache.pdfbox:pdfbox (Maven) |
| CVE-2018-8036 | 2018-07-03 | 6.5 | same package: org.apache.pdfbox:pdfbox (Maven) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-2175, or call /api/v1/vulnerabilities/CVE-2016-2175. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.