CVE-2016-3674
XML External Entity Injection in XStream
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
CVE-2016-3674- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
CVE-2016-3674- Updated
- 2026-11-02
EUVDEUVD-2020-0513 No score
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
EUVD-2020-0513- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rgh3-987h-wpmw
7.5
XML External Entity Injection in XStream
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
GHSA-rgh3-987h-wpmw- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSV
7.5
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
CVE-2016-3674- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-3674
7.5
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
DEBIAN-CVE-2016-3674- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-rgh3-987h-wpmw
7.5
XML External Entity Injection in XStream
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
GHSA-rgh3-987h-wpmw- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-3674
7.5
Multiple XML external entity (XXE) vulnerabilities in the (1) Dom4JDriver, (2) DomDriver, (3) JDomDriver, (4) JDom2Driver, (5) SjsxpDriver, (6) StandardStaxDriver, and (7) WstxDriver drivers in XStream before 1.4.9 allow remote attackers to read arbitrary files via a crafted XML document.
- Record
UBUNTU-CVE-2016-3674- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2016-0164 No score
Updated xstream packages fix CVE-2016-3674
Updated xstream packages fix security vulnerability:
XStream (x-stream.github.io) is a Java library to marshal Java objects into XML and back. For this purpose it supports a lot of different XML parsers. Some of those can also process external entities which was enabled by default. An attacker could therefore provide manipulated XML as input to access data on the file system (CVE-2016-3674).
- Record
MGASA-2016-0164- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10592-1 No score
xstream-1.4.18-1.1 on GA media
These are all security issues fixed in the xstream-1.4.18-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10592-1- Updated
- 2026-11-02
OSVUSN-6978-1 No score
libxstream-java vulnerabilities
It was discovered that XStream incorrectly handled parsing of certain crafted XML documents. A remote attacker could possibly use this issue to read arbitrary files. (CVE-2016-3674)
Zhihong Tian and Hui Lu found that XStream was vulnerable to remote code execution. A remote attacker could run arbitrary shell commands by manipulating the processed input stream. (CVE-2020-26217)
It was discovered that XStream was vulnerable to server-side forgery attacks. A remote attacker could request data from internal resources that are not publicly available only by manipulating the processed input stream. (CVE-2020-26258)
It was discovered that XStream was vulnerable to arbitrary file deletion on the local host. A remote attacker could use this to delete arbitrary known files on the host as long as the executing process had sufficient rights only by manipulating the processed input stream. (CVE-2020-26259)
It was discovered that XStream was vulnerable to denial of service, arbitrary code execution, arbitrary file deletion and server-side forgery attacks. A remote attacker could cause any of those issues by manipulating the processed input stream. (CVE-2021-21341, CVE-2021-21342, CVE-2021-21343, CVE-2021-21344, CVE-2021-21345, CVE-2021-21346, CVE-2021-21347, CVE-2021-21348, CVE-2021-21349, CVE-2021-21350, CVE-2021-21351)
- Record
USN-6978-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
com.thoughtworks.xstream:xstreamMaven |
before 1.4.9 | 1.4.9 |
libxstream-javaDebian:12 |
before 1.4.9-1 | 1.4.9-1 |
libxstream-javaDebian:13 |
before 1.4.9-1 | 1.4.9-1 |
libxstream-javaDebian:14 |
before 1.4.9-1 | 1.4.9-1 |
libxstream-javaDebian:7 |
before 1.4.2-1+deb7u1, plus listed versions 1.4.2-1 |
1.4.2-1+deb7u1 |
libxstream-javaDebian:8 |
before 1.4.7-2+deb8u1, plus listed versions 1.4.7-2 |
1.4.7-2+deb8u1 |
com.thoughtworks.xstream:xstreamMaven |
before 1.4.9, plus listed versions 0.10.20.30.50.6 Show 21 moreShow less1.01.0.11.0.21.11.1.11.1.21.1.31.21.2.11.2.21.31.3.11.41.4.11.4.21.4.31.4.41.4.51.4.61.4.71.4.8 |
1.4.9 |
xstreamMageia:5 |
before 1.4.9-1.mga5 | 1.4.9-1.mga5 |
javapackages-toolsMageia:5 |
before 4.1.0-15.1.mga5 | 4.1.0-15.1.mga5 |
libxstream-javaUbuntu:Pro:14.04:LTS |
before 1.4.7-1ubuntu0.1+esm2, plus listed versions 1.4.4-11.4.7-11.4.7-1ubuntu0.11.4.7-1ubuntu0.1+esm1 |
1.4.7-1ubuntu0.1+esm2 |
libxstream-javaUbuntu:Pro:16.04:LTS |
before 1.4.8-1ubuntu0.1+esm3, plus listed versions 1.4.8-11.4.8-1ubuntu0.11.4.8-1ubuntu0.1+esm11.4.8-1ubuntu0.1+esm2 |
1.4.8-1ubuntu0.1+esm3 |
xstreamopenSUSE:Tumbleweed |
before 1.4.18-1.1 | 1.4.18-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-3674 is a high vulnerability (CVSS 7.5) in Xstream, published May 5, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 8.18%, the 94th percentile. Fixed in com.thoughtworks.xstream:xstream 1.4.9.
References
x-stream.github.io/changes.html
lists.fedoraproject.org/pipermail/package-announce/2016-April/183180.html
debian.org/security/2016/dsa-3575
rhn.redhat.com/errata/RHSA-2016-2822.html
securityfocus.com/bid/85381
securitytracker.com/id/1036419
Show 51 moreShow less
openwall.com/lists/oss-security/2016/03/28/1
rhn.redhat.com/errata/RHSA-2016-2823.html
github.com/x-stream/xstream/issues/25
openwall.com/lists/oss-security/2016/03/25/8
lists.fedoraproject.org/pipermail/package-announce/2016-April/183208.html
nvd.nist.gov/vuln/detail/CVE-2016-3674
snyk.io/vuln/SNYK-JAVA-COMTHOUGHTWORKSXSTREAM-30385
github.com/advisories/GHSA-rgh3-987h-wpmw
security-tracker.debian.org/tracker/CVE-2016-3674
github.com/x-stream/xstream
advisories.mageia.org/MGASA-2016-0164.html
bugs.mageia.org/show_bug.cgi?id=18277
ubuntu.com/security/CVE-2016-3674
cve.org/CVERecord?id=CVE-2016-3674
ubuntu.com/security/notices/USN-6978-1
ubuntu.com/security/CVE-2020-26217
ubuntu.com/security/CVE-2020-26258
ubuntu.com/security/CVE-2020-26259
ubuntu.com/security/CVE-2021-21341
ubuntu.com/security/CVE-2021-21342
ubuntu.com/security/CVE-2021-21343
ubuntu.com/security/CVE-2021-21344
ubuntu.com/security/CVE-2021-21345
ubuntu.com/security/CVE-2021-21346
ubuntu.com/security/CVE-2021-21347
ubuntu.com/security/CVE-2021-21348
ubuntu.com/security/CVE-2021-21349
ubuntu.com/security/CVE-2021-21350
ubuntu.com/security/CVE-2021-21351
suse.com/security/cve/CVE-2016-3674
suse.com/security/cve/CVE-2017-7957
suse.com/security/cve/CVE-2020-26217
suse.com/security/cve/CVE-2020-26258
suse.com/security/cve/CVE-2020-26259
suse.com/security/cve/CVE-2021-21341
suse.com/security/cve/CVE-2021-21342
suse.com/security/cve/CVE-2021-21343
suse.com/security/cve/CVE-2021-21344
suse.com/security/cve/CVE-2021-21345
suse.com/security/cve/CVE-2021-21346
suse.com/security/cve/CVE-2021-21347
suse.com/security/cve/CVE-2021-21348
suse.com/security/cve/CVE-2021-21349
suse.com/security/cve/CVE-2021-21350
suse.com/security/cve/CVE-2021-21351
suse.com/security/cve/CVE-2021-29505
suse.com/security/cve/CVE-2021-39139
suse.com/security/cve/CVE-2021-39144
suse.com/security/cve/CVE-2021-39147
suse.com/security/cve/CVE-2021-39150
suse.com/security/cve/CVE-2021-39153