Skip to content
Fencer Vulns
high 7.5

CVE-2024-47072 json

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

published 2024-11-07 2 y ago modified 2026-08-07 3 mo ago also EUVD-2024-3262 , GHSA-hfq9-hggm-c56q

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven com.thoughtworks.xstream:xstream 1.4.21
  • x-stream x-stream 1.4.21
  • libxstream-java Debian 12 1.4.20-1+deb12u1
  • libxstream-java Debian 14, Debian 13 1.4.21-1

debian advisories DEBIAN-CVE-2024-47072

  • jenkins ocp tools 4.13 2.479.3.1740464433-3.el8
  • jenkins-2-plugins ocp tools 4.13 4.13.1740464698-1.el8
  • jenkins ocp tools 4.12 2.479.3.1740464431-3.el8
  • jenkins-2-plugins ocp tools 4.12 4.12.1740464689-1.el8
  • jenkins ocp tools 4.15 2.479.3.1740051993-3.el8
  • jenkins-2-plugins ocp tools 4.15 4.15.1740052174-1.el8
  • jenkins ocp tools 4.14 2.479.3.1740109575-3.el8
  • jenkins-2-plugins ocp tools 4.14 4.14.1740109868-1.el8

red hat advisories RHSA-2025:2222RHSA-2025:2223RHSA-2025:2220RHSA-2025:2221RHSA-2025:2218RHSA-2025:2219

  • xstream SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +13 more 1.4.21-150200.3.28.1
  • bea-stax SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +14 more 1.2.0-150200.11.3.1

suse advisories SUSE-SU-2024:4037-1

  • xstream openSUSE Tumbleweed 1.4.21-1.1

opensuse advisories openSUSE-SU-2024:14480-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-47072 updated cvss 7.5

com.thoughtworks.xstream: XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream

  • Red Hat Cryostat 3 xstream Red Hat AMQ Clients xstream
    affected: workaround, no fix available
  • Red Hat build of Apache Camel for Spring Boot 3 xstream Red Hat build of Debezium 2 xstream Red Hat Build of Keycloak xstream Red Hat build of OptaPlanner 8 xstream Red Hat build of Quarkus xstream Red Hat Fuse 7 xstream
    +2 more products
    Red Hat Integration Camel K 1 xstream Red Hat streams for Apache Kafka xstream
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.479.3.1740464431-3.el8, jenkins-2-plugins 4.12.1740464689-1.el8
    fixed: vendor fix RHSA-2025:2223
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.479.3.1740464433-3.el8, jenkins-2-plugins 4.13.1740464698-1.el8
    fixed: vendor fix RHSA-2025:2222
  • Red Hat OpenShift Developer Tools and Services for OCP 4.14 jenkins 2.479.3.1740109575-3.el8, jenkins-2-plugins 4.14.1740109868-1.el8
    fixed: vendor fix RHSA-2025:2221
  • Red Hat OpenShift Developer Tools and Services for OCP 4.15 jenkins 2.479.3.1740051993-3.el8, jenkins-2-plugins 4.15.1740052174-1.el8
    fixed: vendor fix RHSA-2025:2220
  • Red Hat OpenShift Developer Tools and Services for OCP 4.16 jenkins 2.479.3.1739896390-3.el9, jenkins-2-plugins 4.16.1739896683-1.el9
    fixed: vendor fix RHSA-2025:2219
  • Red Hat OpenShift Developer Tools and Services for OCP 4.17 jenkins 2.479.3.1739859586-3.el9, jenkins-2-plugins 4.17.1739859908-1.el9
    fixed: vendor fix RHSA-2025:2218
show 5 more
  • Red Hat Build of Keycloak
    fixed: vendor fix RHSA-2025:2545
  • Red Hat build of Keycloak 26
    fixed: vendor fix RHSA-2025:8690
  • Red Hat build of Keycloak 26.2 rhbk/keycloak-rhel9 26.2-4, rhbk/keycloak-rhel9-operator 26.2-4, rhbk/keycloak-operator-bundle 26.2.5-1
    fixed: vendor fix RHSA-2025:8672
  • Red Hat Data Grid
    fixed: vendor fix RHSA-2024:10214
  • Red Hat A-MQ Clients 2 xstream Red Hat Logging Subsystem for Red Hat OpenShift xstream Red Hat build of Apache Camel - HawtIO 4 xstream Red Hat build of Apache Camel 4 for Quarkus 3 xstream Red Hat build of Apicurio Registry 2 com.thoughtworks.xstream/xstream com.thoughtworks.xstream/xstream Red Hat build of Quarkus Native builder xstream
    +6 more products
    Red Hat JBoss Data Grid 7 xstream Red Hat JBoss Enterprise Application Platform 7 xstream Red Hat JBoss Enterprise Application Platform 8 xstream Red Hat JBoss Enterprise Application Platform Expansion Pack xstream Red Hat Process Automation 7 xstream Red Hat Single Sign-On 7 xstream
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

2.00% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven com.thoughtworks.xstream:xstream
<1.4.21
1.4.21

Affected products

  • x-stream xstream
  • x-stream x-stream

Classification

Weakness
  • CWE-121 Stack-based Buffer Overflow
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.