Every CVE Search/ Get API key

CVE-2016-3674

XML External Entity Injection in XStream

7.5 HighFix available

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

8.18%Up 6.0 points since Feb 4, 2022
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
7.5 HighCVSS: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

Affected packages
PackageAffectedFixed
com.thoughtworks.xstream:xstream
Maven
before 1.4.9
1.4.9
libxstream-java
Debian:12
before 1.4.9-1
1.4.9-1
libxstream-java
Debian:13
before 1.4.9-1
1.4.9-1
libxstream-java
Debian:14
before 1.4.9-1
1.4.9-1
libxstream-java
Debian:7
before 1.4.2-1+deb7u1, plus listed versions
1.4.2-1
1.4.2-1+deb7u1
libxstream-java
Debian:8
before 1.4.7-2+deb8u1, plus listed versions
1.4.7-2
1.4.7-2+deb8u1
com.thoughtworks.xstream:xstream
Maven
before 1.4.9, plus listed versions
0.10.20.30.50.6
Show 21 moreShow less
1.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
xstream
Mageia:5
before 1.4.9-1.mga5
1.4.9-1.mga5
javapackages-tools
Mageia:5
before 4.1.0-15.1.mga5
4.1.0-15.1.mga5
libxstream-java
Ubuntu: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-java
Ubuntu: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
xstream
openSUSE:Tumbleweed
before 1.4.18-1.1
1.4.18-1.1

History

History
RecordedChangedSources
first indexedCVE 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

Show 51 moreShow less
MoveEnter Open