CVE-2017-9096
Improper Restriction of XML External Entity Reference in iText
CVE-2017-9096 is a high vulnerability (CVSS 8.8) in Itextpdf Itext, published November 8, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.56%, the 95th percentile. Fixed in com.itextpdf:itextpdf 5.5.12.
- Severity
- 8.8 HighCVSS 3.0, NVD
- Exploit chance
- 9.56%EPSS, 95th percentile
- Exploitation
- None known1 public exploit
- Fixed in
5.5.12com.itextpdf:itextpdf +7 more
Description
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
com.itextpdf:itextpdfMaven | before 5.5.12 | 5.5.12 |
com.itextpdf:itextpdfMaven | 7.0.0 up to 7.0.3 | 7.0.3 |
com.lowagie:itextMaven | through 4.2.2 | None known |
com.lowagie:itextTuxCare:Maven | 2.1.7 up to 2.1.7-tuxcare.1 | 2.1.7-tuxcare.1 |
com.itextpdf:itextpdfTuxCare:Maven | 5.0.6 up to 5.0.6-tuxcare.1 | 5.0.6-tuxcare.1 |
com.lowagie:itextTuxCare:Maven | 2.0.8 up to 2.0.8-tuxcare.1 | 2.0.8-tuxcare.1 |
com.itextpdf:itextpdfMaven | before 5.5.12, plus listed versions 5.0.65.1.05.1.15.1.25.1.3 Show 24 moreShow less5.2.05.2.15.3.05.3.15.3.25.3.45.4.05.4.15.4.25.4.35.4.45.4.55.5.05.5.15.5.105.5.115.5.25.5.35.5.45.5.55.5.65.5.75.5.85.5.9 | 5.5.12 |
com.lowagie:itextMaven | through 4.2.2, plus listed versions 0.991.02b1.1.41.2.31.3 Show 15 moreShow less1.3.11.41.4.82.0.12.0.62.0.72.0.82.1.02.1.22.1.32.1.42.1.52.1.74.2.04.2.1 | None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | jakabakos/CVE-2017-9096-iText-XXE | 2022-05-18 |
What each source reports
NVD Score used 8.8
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
- Record
CVE-2017-9096- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-611
- Updated
- 2026-11-02
CVE ListNo score
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
- Record
CVE-2017-9096- Updated
- 2026-11-02
EUVDEUVD-2022-3126No score
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
- Record
EUVD-2022-3126- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-86p9-x5pw-94qx 8.8
Improper Restriction of XML External Entity Reference in iText
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
- Record
GHSA-86p9-x5pw-94qx- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-611
- Updated
- 2026-11-02
OSV 8.8
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
- Record
CVE-2017-9096- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-86p9-x5pw-94qx 8.8
Improper Restriction of XML External Entity Reference in iText
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
- Record
GHSA-86p9-x5pw-94qx- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-611
- Updated
- 2026-11-02
OSVCLSA-2025-1761005191No score
TuxCare security update for com.lowagie:itext (1 CVE)
TuxCare rebuilt com.lowagie:itext to address 1 CVE. Fixed in 2.1.7-tuxcare.1.
- Record
CLSA-2025-1761005191- Updated
- 2026-11-02
OSVCLSA-2026-1787125497No score
TuxCare security update for com.itextpdf:itextpdf (1 CVE)
TuxCare rebuilt com.itextpdf:itextpdf to address 1 CVE. Fixed in 5.0.6-tuxcare.1.
- Record
CLSA-2026-1787125497- Updated
- 2026-11-02
OSVCLSA-2026-1787667201No score
TuxCare security update for com.lowagie:itext (1 CVE)
TuxCare rebuilt com.lowagie:itext to address 1 CVE. Fixed in 2.0.8-tuxcare.1.
- Record
CLSA-2026-1787667201- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
securityfocus.com/archive/1/541483/100/0/threaded
oracle.com/security-alerts/cpuoct2020.html
support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03902en_us
compass-security.com/fileadmin/Datein/Research/Advisories/CSNC-2017-017_itext_xml_external_entity_attack.txt
nvd.nist.gov/vuln/detail/CVE-2017-9096
github.com/advisories/GHSA-86p9-x5pw-94qx