Skip to content
OpenAdvisories
High · 7.5 CVE-2024-47072 EUVD-2024-3262GHSA-hfq9-hggm-c56q

XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream

Published Nov 7, 2024 · Updated Nov 3, 2025 · Assigned by GitHub_M

Description

XStream is a simple library to serialize objects to XML and back again. This vulnerability may allow a remote attacker to terminate the application with a stack overflow error resulting in a denial of service only by manipulating the processed input stream when XStream is configured to use the BinaryStreamDriver. XStream 1.4.21 has been patched to detect the manipulation in the binary input stream causing the the stack overflow and raises an InputManipulationException instead. Users are advised to upgrade. Users unable to upgrade may catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.

Affected products

VendorProductAffectedFixed
x-stream xstream < 1.4.21 —

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.

ReleasePackageFixed inAdvisory
Debian 14 libxstream-java 1.4.21-1 —
Debian 13 libxstream-java 1.4.21-1 —
Debian 12 libxstream-java 1.4.20-1+deb12u1 —
Debian 11 libxstream-java 1.4.15-3+deb11u3 DLA-4001-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
Red Hat Ocp Tools 4 jenkins 2.479.3.1739859586-3.el9 RHSA-2025:2223, RHSA-2025:2222, RHSA-2025:2221
Red Hat Ocp Tools 4 jenkins-2-plugins 4.12.1740464689-1.el8 RHSA-2025:2223, RHSA-2025:2222, RHSA-2025:2221
ReleasePackageFixed inAdvisory
SLES 15 SP6 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES 15 SP6 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLES 15 SP5 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES 15 SP5 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLES 15 SP4 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES 15 SP4 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLES 15 SP3 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES 15 SP3 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLES 15 SP2 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES 15 SP2 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES for SAP 15 SP4 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLES for SAP 15 SP3 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES for SAP 15 SP3 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLES for SAP 15 SP2 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLES for SAP 15 SP2 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLE HPC 15 SP4 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLE HPC 15 SP4 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLE HPC 15 SP3 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLE HPC 15 SP3 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SLE HPC 15 SP2 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SLE HPC 15 SP2 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SUSE Manager Server Module 4.3 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
SUSE Manager Server 4.3 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SUSE Manager Proxy 4.3 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SUSE Enterprise Storage 7.1 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
SUSE Enterprise Storage 7.1 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xstream 1.4.21-1.1 openSUSE-SU-2024:14480-1
openSUSE Leap 15.6 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
openSUSE Leap 15.6 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1
openSUSE Leap 15.5 bea-stax 1.2.0-150200.11.3.1 SUSE-SU-2024:4037-1
openSUSE Leap 15.5 xstream 1.4.21-150200.3.28.1 SUSE-SU-2024:4037-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 xstream +1 1.3.1-16.amzn2.0.4 ALAS2-2024-2707

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.thoughtworks.xstream:xstream < 1.4.21 1.4.21 GHSA-hfq9-hggm-c56q

Advisories 27

References