# CVE-2024-47072: XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream

Source: https://junglewise.ai/threats/cve-2024-47072-xstream-is-vulnerable-to-a-denial-of-service-attack-due-to-stack  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-07  
License: CC BY 4.0 with a link back

CVE-2024-47072 · Severity: low · CVSS 3.1 · Published 2024-11-07

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

Technologies: [com.thoughtworks.xstream:xstream (Maven)](https://junglewise.ai/threats/technologies/com-thoughtworks-xstream-xstream). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-47072 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-47072 being exploited in the wild.

**How severe is CVE-2024-47072?** Low severity, with a CVSS score of 3.1, published 7 November 2024.

**Which products and versions are affected?** com.thoughtworks.xstream:xstream (Maven) ECOSYSTEM:introduced=0,fixed=1.4.21.

**Is there a fix for CVE-2024-47072?** Yes. com.thoughtworks.xstream:xstream (Maven): upgrade to 1.4.21 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-47072?** Check whether you run com.thoughtworks.xstream:xstream (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.thoughtworks.xstream:xstream (Maven): upgrade to 1.4.21 or later

  ```sh
  # set com.thoughtworks.xstream:xstream to 1.4.21 in your pom.xml or build.gradle
  ```


## Affected products

- com.thoughtworks.xstream:xstream (Maven) ECOSYSTEM:introduced=0,fixed=1.4.21

## Identifiers

- CVE-2024-47072
- GHSA-hfq9-hggm-c56q

## Related threats

- [XStream can cause a Denial of Service by injecting deeply nested objects raising a stack overflow](https://junglewise.ai/threats/cve-2022-40151-xstream-can-cause-a-denial-of-service-by-injecting-deeply-nested)
- [XStream can cause Denial of Service via stack overflow](https://junglewise.ai/threats/cve-2022-41966-xstream-can-cause-denial-of-service-via-stack-overflow)
- [Duplicate Advisory: Denial of Service due to parser crash](https://junglewise.ai/threats/duplicate-advisory-denial-of-service-due-to-parser-crash-92e16523)
- [Denial of Service by injecting highly recursive collections or maps in XStream](https://junglewise.ai/threats/cve-2021-43859-denial-of-service-by-injecting-highly-recursive-collections-or)
- [XStream is vulnerable to an Arbitrary Code Execution attack](https://junglewise.ai/threats/cve-2021-39139-xstream-is-vulnerable-to-an-arbitrary-code-execution-attack)
