CVE-2021-39139: XStream is vulnerable to an Arbitrary Code Execution attack
Vulnerability summary
CVE-2021-39139 is a high (CVSS 8.8) vulnerability in debian debian_linux. EPSS estimates a 4.54% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities.
Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 23-08-2021PublishedVulnerability first disclosed.
- 07-10-2026Last modifiedVulnerability information updated.
Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
CVSS metrics
7 scores · 6 sources · 2 versions- CVE.orgCNA8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated8.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
4.54%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.54% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
- CWE-502Deserialization of Untrusted DataThe product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oracle11 products
- business_activity_monitoring12.2.1.4.0
- commerce_guided_search11.3.2
- communications_billing_and_revenue_management_elastic_charging_engine11.3 | 12.0
- communications_cloud_native_core_automated_test_suite1.9.0
- communications_cloud_native_core_binding_support_function1.10.0
Chainguard2 products
- hadoop-fips-3.3.6All versions (No fix recorded)
- hadoop-fips-3.4.2All versions (No fix recorded)
Debian2 products
- libxstream-java< 1.4.18-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Com.thoughtworks.xstream1 product
- xstream< 1.4.18
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Netapp1 product
Ubuntu1 product
- libxstream-java< 1.4.11.1-1+deb10u4build0.18.04.1 | < 1.4.11.1-1ubuntu0.3
X-stream1 product
- xstream< 1.4.18
Xstream1 product
- xstream< 1.4.18
9 vendors · 21 products
References
21 links- github.com/x-stream/xstream/security/advisories/GHSA-64xx-cq4q-mf44X Refsource CONFIRMREPORTAdvisoryWEBThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/09/msg00017.htmlMailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory
- www.debian.org/security/2021/dsa-5004Vendor AdvisoryX Refsource DEBIANAdvisoryWEBThird Party Advisory
Show all 21 references
- github.com/x-stream/xstreamPACKAGE