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
·
Updated

Impact The 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.

Patches XStream 1.4.21 detects the manipulation in the binary input stream causing the the stack overflow and raises an InputManipulationException instead.

Workarounds The only solution is to catch the StackOverflowError in the client code calling XStream if XStream is configured to use the BinaryStreamDriver.

References See full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for CVE-2024-47072.

Credits Alexis Challande of Trail Of Bits found and reported the issue to XStream and provided the required information to reproduce it.

Other sources

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.

NVD

XStream is vulnerable to a denial of service, caused by a stack-based buffer overflow in BinaryStreamDriver. By sending a specially crafted binary input stream, a remote attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

2 affected componentsFixes available
maven/com.thoughtworks.xstream:xstream<1.4.21
1.4.21
IBM InfoSphere Data Architect<=9.2.1

Event History

Nov 7, 2024
Advisory Published
via GitHub·09:51 PM
CVE Published
via MITRE·11:38 PM
Data Sourced
via MITRE·11:38 PM
DescriptionSeverityWeakness
Nov 8, 2024
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·01:48 PM
DescriptionSeverityAffected Software
Mar 4, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-47072?

CVE-2024-47072 has a severity rating that indicates it could lead to a denial of service due to a stack overflow error.

2

How do I fix CVE-2024-47072?

To fix CVE-2024-47072, update XStream to version 1.4.21 or a later version.

3

Who is affected by CVE-2024-47072?

CVE-2024-47072 affects applications using the XStream library configured with the BinaryStreamDriver.

4

What are the consequences of CVE-2024-47072?

The consequence of CVE-2024-47072 is that a remote attacker could exploit the vulnerability to terminate the application.

5

When was CVE-2024-47072 reported?

CVE-2024-47072 was reported as a vulnerability affecting XStream, with details communicated through GitHub advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203