Description
XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| x-stream | xstream | < 1.4.19 | — |
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.19-1 | — |
| Debian 13 | libxstream-java | 1.4.19-1 | — |
| Debian 12 | libxstream-java | 1.4.19-1 | — |
| Debian 11 | libxstream-java | 1.4.15-3+deb11u3 | DLA-4001-1 |
| Debian 9 | libxstream-java | 1.4.11.1-1+deb9u5 | DLA-2924-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libxstream-java | No fix yet | — |
| Ubuntu 26.04 LTS | libxstream-java | No fix yet | — |
| Ubuntu 25.10 | libxstream-java | No fix yet | — |
| Ubuntu 24.04 LTS | libxstream-java | No fix yet | — |
| Ubuntu 22.04 LTS | libxstream-java | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libxstream-java | No fix yet | — |
| Ubuntu 18.04 LTS | libxstream-java | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libxstream-java | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libxstream-java | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 3 | jenkins | 2.319.3.1650348949-1.el7 | RHSA-2022:1420 |
| Red Hat OpenShift 3 | jenkins-2-plugins | 3.11.1650371376-1.el7 | RHSA-2022:1420 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | xstream | 1.4.19-3.18.2 | SUSE-SU-2022:0817-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Real Time 15 SP2 | xstream | 1.4.19-3.18.2 | SUSE-SU-2022:0817-1 |
| SUSE Manager Server Module 4.2 | xstream | 1.4.19-3.18.2 | SUSE-SU-2022:0817-1 |
| SUSE Manager Server Module 4.1 | xstream | 1.4.19-3.18.2 | SUSE-SU-2022:0817-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | xstream | 1.4.19-1.1 | openSUSE-SU-2024:11809-1 |
| openSUSE Leap 15.3 | xstream | 1.4.19-3.18.2 | openSUSE-SU-2022:0817-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | < 1.4.19 | 1.4.19 | GHSA-rmr5-cpv2-vgjf |
Advisories 10
- RHSA-2022:1420 Red Hat Security Advisory: OpenShift Container Platform 3.11.685 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026
- DLA-2924-1 libxstream-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4001-1 libxstream-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11809-1 xstream-1.4.19-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0817-1 Security update for xstream SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0817-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-1813 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-1017 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf
- https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846
- https://x-stream.github.io/CVE-2021-43859.html
- [oss-security] 20220209 Vulnerability in Jenkins mailing-list
- FEDORA-2022-ad5cf1c0dd vendor-advisory
- FEDORA-2022-983a78275c vendor-advisory
- [debian-lts-announce] 20220215 [SECURITY] [DLA 2924-1] libxstream-java security update mailing-list
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html