
CVE catalog
CVE-2021-39139
libxstream-java: CVE-2021-39139
- Severity
- High · CVSS 8.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.54% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libxstream-java | sid | 1.4.21-2 | fixed |
| Debian | libxstream-java | forky | 1.4.21-2 | fixed |
| Debian | libxstream-java | trixie | 1.4.21-1 | fixed |
| Debian | libxstream-java | bookworm | 1.4.20-1+deb12u1 | fixed |
| Cpe | xstream | Not reported | 1.4.18 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | fedora | Not reported | Not reported | unknown |
| Cpe | snapmanager | Not reported | Not reported | unknown |
| Cpe | business_activity_monitoring | Not reported | Not reported | unknown |
| Cpe | commerce_guided_search | Not reported | Not reported | unknown |
| Cpe | communications_billing_and_revenue_management_elastic_charging_engine | Not reported | Not reported | unknown |
| Cpe | communications_cloud_native_core_automated_test_suite | Not reported | Not reported | unknown |
| Cpe | communications_cloud_native_core_binding_support_function | Not reported | Not reported | unknown |
| Cpe | communications_cloud_native_core_policy | Not reported | Not reported | unknown |
| Cpe | communications_unified_inventory_management | Not reported | Not reported | unknown |
| Ubuntu | libxstream-java | pro | 1.4.8-1 | vulnerable |
| Ubuntu | libxstream-java | pro | 1.4.8-1ubuntu0.1 | vulnerable |
| Ubuntu | libxstream-java | pro | 1.4.8-1ubuntu0.1+esm1 | fixed |
| Ubuntu | libxstream-java | 18.04 | 1.4.10-1 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1~18.04 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1~18.04.1 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1~18.04.2 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1+deb10u4build0.18.04.1 | fixed |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1 | vulnerable |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1ubuntu0.1 | vulnerable |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1ubuntu0.2 | vulnerable |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1ubuntu0.3 | fixed |
| Ubuntu | libxstream-java | 22.04 | 1.4.15-4 | vulnerable |
| Ubuntu | libxstream-java | 22.04 | 1.4.18-2 | vulnerable |
| Ubuntu | libxstream-java | 22.04 | 1.4.18-2ubuntu0.1 | fixed |
| Opensuse | xstream | leap 15.2 | 1.4.18-lp152.2.12.1 | fixed |
| Opensuse | xstream | leap 15.3 | 1.4.18-3.14.1 | fixed |
| Suse | xstream | linux enterprise module for development tools 15 sp2 | 1.4.18-3.14.1 | fixed |
| Suse | xstream | linux enterprise module for development tools 15 sp3 | 1.4.18-3.14.1 | fixed |
| Suse | xstream | manager server module 4.1 | 1.4.18-3.14.1 | fixed |
| Suse | xstream | manager server module 4.2 | 1.4.18-3.14.1 | fixed |
| Ubuntu | libxstream-java | 18.04 | 1.4.10-1 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1~18.04 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1~18.04.1 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1~18.04.2 | vulnerable |
| Ubuntu | libxstream-java | 18.04 | 1.4.11.1-1+deb10u4build0.18.04.1 | fixed |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1 | vulnerable |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1ubuntu0.1 | vulnerable |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1ubuntu0.2 | vulnerable |
| Ubuntu | libxstream-java | 20.04 | 1.4.11.1-1ubuntu0.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libxstream-java | source | sid | 1.4.18-1 | not yet assigned | Not reported | [998054] |
| Debian | libxstream-java | source | forky | 1.4.18-1 | not yet assigned | Not reported | [998054] |
| Debian | libxstream-java | source | trixie | 1.4.18-1 | not yet assigned | Not reported | [998054] |
| Debian | libxstream-java | source | bookworm | 1.4.18-1 | not yet assigned | Not reported | [998054] |
| Cpe | xstream | cpe | Not reported | 1.4.18 | Not reported | NVD-CVE-2021-39139 | Not reported |
| Ubuntu | libxstream-java | deb | pro | 1.4.8-1ubuntu0.1+esm1 | Not reported | USN-5946-1 | Not reported |
| Ubuntu | libxstream-java | deb | 18.04 | 1.4.11.1-1+deb10u4build0.18.04.1 | Not reported | USN-5946-1 | Not reported |
| Ubuntu | libxstream-java | deb | 20.04 | 1.4.11.1-1ubuntu0.3 | Not reported | USN-5946-1 | Not reported |
| Ubuntu | libxstream-java | deb | 22.04 | 1.4.18-2ubuntu0.1 | Not reported | USN-5946-1 | Not reported |
| Opensuse | xstream | rpm | leap 15.2 | 1.4.18-lp152.2.12.1 | Not reported | OPENSUSE-SU-2021:1401-1 | Not reported |
| Opensuse | xstream | rpm | leap 15.3 | 1.4.18-3.14.1 | Not reported | OPENSUSE-SU-2021:3476-1 | Not reported |
| Suse | xstream | rpm | linux enterprise module for development tools 15 sp2 | 1.4.18-3.14.1 | Not reported | SUSE-SU-2021:3476-1 | Not reported |
| Suse | xstream | rpm | linux enterprise module for development tools 15 sp3 | 1.4.18-3.14.1 | Not reported | SUSE-SU-2021:3476-1 | Not reported |
| Suse | xstream | rpm | manager server module 4.1 | 1.4.18-3.14.1 | Not reported | SUSE-SU-2021:3476-1 | Not reported |
| Suse | xstream | rpm | manager server module 4.2 | 1.4.18-3.14.1 | Not reported | SUSE-SU-2021:3476-1 | Not reported |
| Ubuntu | libxstream-java | deb | 18.04 | 1.4.11.1-1+deb10u4build0.18.04.1 | Not reported | UBUNTU-CVE-2021-39139 | Not reported |
| Ubuntu | libxstream-java | deb | 20.04 | 1.4.11.1-1ubuntu0.3 | Not reported | UBUNTU-CVE-2021-39139 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libxstream-java]Fixed
Details (2)
1.4.20-1+deb12u1· all · bookwormFixed · Fixed:
1.4.18-1dsa · libxstream-java · debian · bookworm; dsa · libxstream-java · debian · 12
1.4.20-1+deb12u1· all · bookwormFixed · Fixed:
1.4.18-1dsa · libxstream-java · debian · bookworm; dsa · libxstream-java · debian · 12
[Debian 13 (Trixie)]
- [libxstream-java]Fixed
Details (2)
1.4.21-1· all · trixieFixed · Fixed:
1.4.18-1dsa · libxstream-java · debian · 13
1.4.21-1· all · trixieFixed · Fixed:
1.4.18-1dsa · libxstream-java · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_3956.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-39139]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-39139]
- [https://osv.dev/vulnerability/DLA-2769-1]
- [https://osv.dev/vulnerability/DSA-5004-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3476-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-39139]
- [https://osv.dev/vulnerability/USN-5946-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1401-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:3476-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-39139]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-39139.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2023-0682.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]