CVE-2024-47072

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

Published Nov 7, 2024 CVSS 3.1 · 7.5 High EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4001-1 libxstream-java security update
EUVD EUVD EUVD-2024-3262 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.
Github GHSA Github GHSA GHSA-hfq9-hggm-c56q XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00176}

epss

{'score': 0.00143}

Type Values Removed Values Added
Metrics epss

{'score': 0.00148}

epss

{'score': 0.00176}

Type Values Removed Values Added
First Time appeared Redhat build Keycloak
CPEs cpe:/a:redhat:build_keycloak:26
cpe:/a:redhat:build_keycloak:26.2::el9
Vendors & Products Redhat build Keycloak
Type Values Removed Values Added
First Time appeared Redhat ocp Tools
CPEs cpe:/a:redhat:ocp_tools:4.12::el8
cpe:/a:redhat:ocp_tools:4.13::el8
cpe:/a:redhat:ocp_tools:4.14::el8
cpe:/a:redhat:ocp_tools:4.15::el8
cpe:/a:redhat:ocp_tools:4.16::el9
cpe:/a:redhat:ocp_tools:4.17::el9
Vendors & Products Redhat ocp Tools
Type Values Removed Values Added
First Time appeared Redhat
Redhat jboss Data Grid
CPEs cpe:/a:redhat:jboss_data_grid:8
Vendors & Products Redhat
Redhat jboss Data Grid
Type Values Removed Values Added
First Time appeared X-stream
X-stream x-stream
CPEs cpe:2.3:a:x-stream:x-stream:*:*:*:*:*:*:*:*
Vendors & Products X-stream
X-stream x-stream
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream
Weaknesses CWE-121
CWE-502
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 10:19 PM
Reserved
Sep 17, 2024, 5:42 PM
Status
Deferred
Published
Nov 8, 2024, 12:15 AM
Modified
Jun 17, 2026, 7:56 AM
Severity
Important
Public date
Nov 7, 2024, 11:38 PM