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. 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| x-stream | xstream | < 1.4.18 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxstream-java | 1.4.18-1 | — |
| Debian 13 | libxstream-java | 1.4.18-1 | — |
| Debian 12 | libxstream-java | 1.4.18-1 | — |
| Debian 11 | libxstream-java | 1.4.15-3+deb11u1 | DSA-5004-1 |
| Debian 10 | libxstream-java | 1.4.11.1-1+deb10u3 | DSA-5004-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | libxstream-java | 1.4.11.1-1+deb9u4 | DLA-2769-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libxstream-java | 1.4.18-2ubuntu0.1 | USN-5946-1 |
| Ubuntu 20.04 LTS | libxstream-java | 1.4.11.1-1ubuntu0.3 | USN-5946-1 |
| Ubuntu 18.04 LTS | libxstream-java | 1.4.11.1-1+deb10u4build0.18.04.1 | USN-5946-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libxstream-java | 1.4.8-1ubuntu0.1+esm1 | USN-5946-1 |
| Ubuntu Pro 14.04 LTS | libxstream-java | 1.4.7-1ubuntu0.1+esm1 | USN-5946-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | xstream +1 | 1.3.1-16.el7_9 | RHSA-2021:3956 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | xstream | 1.4.18-3.14.1 | SUSE-SU-2021:3476-1 |
| SLES 15 SP2 | xstream | 1.4.18-3.14.1 | SUSE-SU-2021:3476-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Manager Server Module 4.2 | xstream | 1.4.18-3.14.1 | SUSE-SU-2021:3476-1 |
| SUSE Manager Server Module 4.1 | xstream | 1.4.18-3.14.1 | SUSE-SU-2021:3476-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | xstream | 1.4.18-3.14.1 | openSUSE-SU-2021:3476-1 |
| openSUSE Leap 15.2 | xstream | 1.4.18-lp152.2.12.1 | openSUSE-SU-2021:1401-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | xstream +1 | 1.3.1-16.amzn2 | ALAS2-2021-1729 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | xstream +1 | 1.3.1-16.el7_9 | ELSA-2021-3956 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | < 1.4.18 | 1.4.18 | GHSA-3ccq-5vw3-2p6x |
Advisories 11
- RHSA-2021:3956 Red Hat Security Advisory: xstream security update Red Hat Security Advisories (RHSA) · Aug 9, 2026
- USN-5946-1 libxstream-java vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5004-1 libxstream-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2769-1 libxstream-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2021:1401-1 Security update for xstream SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3476-1 Security update for xstream SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3476-1 Security update for xstream SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2023-0682 Red Hat Enterprise Linux (xstream): Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 27, 2023
- ALAS2-2021-1729 Important: xstream security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 9, 2021
- ELSA-2021-3956 Important: xstream security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 25, 2021
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-3ccq-5vw3-2p6x
- https://x-stream.github.io/CVE-2021-39149.html
- [debian-lts-announce] 20210929 [SECURITY] [DLA 2769-1] libxstream-java security update mailing-list
- FEDORA-2021-fbad11014a vendor-advisory
- FEDORA-2021-d894ca87dc vendor-advisory
- FEDORA-2021-5e376c0ed9 vendor-advisory
- DSA-5004 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20210923-0003/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html