Description
XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| x-stream | xstream | < 1.4.20 | — |
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.20-1 | — |
| Debian 13 | libxstream-java | 1.4.20-1 | — |
| Debian 12 | libxstream-java | 1.4.20-1 | — |
| Debian 11 | libxstream-java | 1.4.15-3+deb11u2 | DSA-5315-1 |
| Debian 10 | libxstream-java | 1.4.11.1-1+deb10u4 | DLA-3267-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 | 1.4.18-2ubuntu0.1 | USN-5946-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
| 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 |
|---|---|---|---|
| Red Hat OpenShift 4 | jenkins | 2.401.1.1685677065-1.el8 | RHSA-2023:3625 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.10.1685679861-1.el8 | RHSA-2023:3625 |
| Red Hat Ocp Tools 4 | jenkins | 2.401.1.1686831596-3.el8 | RHSA-2023:3663 |
| Red Hat Ocp Tools 4 | jenkins-2-plugins | 4.11.1686831822-1.el8 | RHSA-2023:3663 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SLES 15 SP3 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SLES 15 SP2 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SLES for SAP 15 SP2 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SLE Real Time 15 SP3 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SLE HPC 15 SP3 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SLE HPC 15 SP2 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SUSE Manager Server Module 4.3 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SUSE Manager Server Module 4.2 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SUSE Enterprise Storage 7.1 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
| SUSE Enterprise Storage 7 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | xstream | 1.4.20-1.1 | openSUSE-SU-2024:12796-1 |
| openSUSE Leap 15.4 | xstream | 1.4.20-150200.3.25.1 | SUSE-SU-2023:1673-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | xstream +1 | 1.3.1-16.amzn2.0.1 | ALAS2-2023-2007 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
111ddea/Xstream_cve-2022-41966 ★ 3 · Jan 6, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | < 1.4.20 | 1.4.20 | GHSA-j563-grx4-pjpv |
Advisories 29
- RHSA-2023:3663 Red Hat Security Advisory: jenkins and jenkins-2-plugins security update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:3625 Red Hat Security Advisory: OpenShift Container Platform 4.10.62 security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2023-1142 Red Hat Integration Camel for Spring Boot: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-5946-1 libxstream-java vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5315-1 libxstream-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3267-1 libxstream-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:1673-1 Security update for xstream SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12796-1 xstream-1.4.20-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0086 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 25, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2024-1631 Atlassian Jira Software: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jul 16, 2024
- NCSC-2024-0231 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · May 22, 2024
- WID-SEC-2024-1214 Atlassian Jira Software (Data Center und Server): Mehrere Schwachstellen BSI CERT-Bund (WID) · May 21, 2024
- WID-SEC-2023-0809 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 19, 2024
- WID-SEC-2023-1016 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023
- WID-SEC-2023-1807 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023
- WID-SEC-2023-2681 Oracle Commerce: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023
- WID-SEC-2023-2675 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023
- WID-SEC-2023-1808 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-1782 Oracle Utilities Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-1813 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-1021 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 29, 2023
- WID-SEC-2023-1293 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 23, 2023
- WID-SEC-2023-1031 Oracle Retail Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- WID-SEC-2023-1027 Oracle Utilities Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- WID-SEC-2023-1022 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- WID-SEC-2023-1018 Oracle Enterprise Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- ALAS2-2023-2007 Important: xstream security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 4, 2023