CVEfocus › CVE database › CVE-2024-47072

CVE-2024-47072XStream is vulnerable to a Denial of Service attack due to stack overflow from a…

CVSS 7.5 HighEPSS 3.3% (higher than 89% of CVEs)Published 2024-11-07Updated 2025-11-03Assigner: GitHub_M

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.

CWE-121CWE-502

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libxstream-javaFix pendingUBUNTU-CVE-2024-47072
Ubuntu 26.04libxstream-javaUnder investigationUBUNTU-CVE-2024-47072
Ubuntu 25.10libxstream-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-47072
Ubuntu 24.04libxstream-javaUnder investigationUBUNTU-CVE-2024-47072
Ubuntu 22.04libxstream-javaUnder investigationUBUNTU-CVE-2024-47072
Ubuntu 20.04libxstream-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-47072
Ubuntu 18.04libxstream-javaFix pendingUBUNTU-CVE-2024-47072
Ubuntu 16.04libxstream-javaFix pendingUBUNTU-CVE-2024-47072
Ubuntu 14.04libxstream-javaFix pendingUBUNTU-CVE-2024-47072
Debian 14libxstream-javaFixed1.4.21-1DEBIAN-CVE-2024-47072
Debian 13libxstream-javaFixed1.4.21-1DEBIAN-CVE-2024-47072
Debian 12libxstream-javaFixed1.4.20-1+deb12u1DEBIAN-CVE-2024-47072
Maven librarycom.thoughtworks.xstream:xstreamFixed1.4.21GHSA-hfq9-hggm-c56q

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.