cve.bz

CVE-2024-47072 x-stream xstream: Stack-based Buffer Overflow

7.5 highEPSS 2.0%Fix available

High (7.5) in x-stream xstream. EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in com.thoughtworks.xstream:xstream 1.4.21.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-11-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-121 Stack-based Buffer Overflow
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-47072 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-47072?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-47072?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-47072 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
x-stream xstream< 1.4.21

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hfq9-hggm-c56qMavencom.thoughtworks.xstream:xstream<1.4.211.4.21

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxstream-java1.4.15-3+deb11u3DLA-4001-1
Debian12libxstream-java1.4.20-1+deb12u1DEBIAN-CVE-2024-47072
Debian13, 14libxstream-java1.4.21-1DEBIAN-CVE-2024-47072
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 6 morelibxstream-javano fix listedUBUNTU-CVE-2024-47072
Red Hatocp_tools:4.12::el8jenkins0:2.479.3.1740464431-3.el8RHSA-2025:2223
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1740464689-1.el8RHSA-2025:2223
Red Hatocp_tools:4.13::el8jenkins0:2.479.3.1740464433-3.el8RHSA-2025:2222
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1740464698-1.el8RHSA-2025:2222
Red Hatocp_tools:4.14::el8jenkins0:2.479.3.1740109575-3.el8RHSA-2025:2221
Red Hatocp_tools:4.14::el8jenkins-2-plugins0:4.14.1740109868-1.el8RHSA-2025:2221
Red Hatocp_tools:4.15::el8jenkins0:2.479.3.1740051993-3.el8RHSA-2025:2220
Red Hatocp_tools:4.15::el8jenkins-2-plugins0:4.15.1740052174-1.el8RHSA-2025:2220
Red Hatocp_tools:4.16::el9jenkins0:2.479.3.1739896390-3.el9RHSA-2025:2219
Red Hatocp_tools:4.16::el9jenkins-2-plugins0:4.16.1739896683-1.el9RHSA-2025:2219
Red Hatocp_tools:4.17::el9jenkins0:2.479.3.1739859586-3.el9RHSA-2025:2218
Red Hatocp_tools:4.17::el9jenkins-2-plugins0:4.17.1739859908-1.el9RHSA-2025:2218
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 12 morebea-stax1.2.0-150200.11.3.1SUSE-SU-2024:4037-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 11 morexstream1.4.21-150200.3.28.1SUSE-SU-2024:4037-1
openSUSELeap 15.5, Leap 15.6bea-stax1.2.0-150200.11.3.1SUSE-SU-2024:4037-1
openSUSELeap 15.5, Leap 15.6xstream1.4.21-150200.3.28.1SUSE-SU-2024:4037-1
openSUSETumbleweedxstream1.4.21-1.1openSUSE-SU-2024:14480-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in XStream is considered an Important severity rather than Moderate because it exposes applications to a denial of service (DoS) attack with relative ease. By exploiting the flaw in the `BinaryStreamDriver`, an attacker can manipulate the binary input stream to trigger a stack overflow, which terminates the application unexpectedly. Unlike moderate vulnerabilities, which may require specific conditions or limited privileges, this flaw enables remote attackers to forcefully terminate services by crafting malicious input, impacting system availability. Additionally, the vulnerability’s reliance on a common serialization mechanism elevates the risk, as it may affect applications across various environments and industries where XStream is deployed.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
OCP-Tools-4.12-RHEL-8jenkins-0:2.479.3.1740464431-3.el8Fixed 2025-03-04RHSA-2025:2223
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1740464689-1.el8Fixed 2025-03-04RHSA-2025:2223
OCP-Tools-4.13-RHEL-8jenkins-0:2.479.3.1740464433-3.el8Fixed 2025-03-04RHSA-2025:2222
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1740464698-1.el8Fixed 2025-03-04RHSA-2025:2222
OCP-Tools-4.14-RHEL-8jenkins-0:2.479.3.1740109575-3.el8Fixed 2025-03-04RHSA-2025:2221
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1740109868-1.el8Fixed 2025-03-04RHSA-2025:2221
OCP-Tools-4.15-RHEL-8jenkins-0:2.479.3.1740051993-3.el8Fixed 2025-03-04RHSA-2025:2220
OCP-Tools-4.15-RHEL-8jenkins-2-plugins-0:4.15.1740052174-1.el8Fixed 2025-03-04RHSA-2025:2220
OCP-Tools-4.16-RHEL-9jenkins-0:2.479.3.1739896390-3.el9Fixed 2025-03-04RHSA-2025:2219
OCP-Tools-4.16-RHEL-9jenkins-2-plugins-0:4.16.1739896683-1.el9Fixed 2025-03-04RHSA-2025:2219
A-MQ Clients 2xstreamNot affected
Cryostat 3xstreamAffected
Logging Subsystem for Red Hat OpenShiftcom.thoughtworks.xstream/xstreamNot affected
Red Hat AMQ ClientsxstreamAffected
Red Hat build of Apache Camel 4 for Quarkus 3xstreamNot affected
Red Hat build of Apache Camel for Spring Boot 3xstreamWill not fix
Red Hat build of Apache Camel - HawtIO 4xstreamNot affected
Red Hat build of Apicurio Registry 2com.thoughtworks.xstream/xstreamNot affected
Red Hat build of Debezium 2xstreamWill not fix
Red Hat Build of KeycloakxstreamWill not fix
20 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-47072.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON