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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.00%, higher than 81% of CVEs (2026-12-01)
- Published: 2024-11-07T21:51:17.000Z
- Modified: 2026-08-07T08:12:24.322Z
- Also known as: GHSA-hfq9-hggm-c56q
- Weaknesses: CWE-121, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- x-stream xstream: < 1.4.21
- x-stream x-stream: before 1.4.21
- com.thoughtworks.xstream:xstream (Maven): before 1.4.21

## Every score

- GitHub_M: 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`
- GitHub: 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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/x-stream/xstream/security/advisories/GHSA-hfq9-hggm-c56q> (web)
- <https://github.com/x-stream/xstream/commit/bb838ce2269cac47433e31c77b2b236466e9f266> (web)
- <https://x-stream.github.io/CVE-2024-47072.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00023.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47072> (advisory)
- <https://github.com/x-stream/xstream/commit/fdd9f7d3de0d7ccf2f9979bcd09fbf3e6a0c881a> (web)
- <https://github.com/x-stream/xstream> (package)

## Sources

- CVE List: [CVE-2024-47072](https://www.cve.org/CVERecord?id=CVE-2024-47072), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-hfq9-hggm-c56q](https://github.com/advisories/GHSA-hfq9-hggm-c56q), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2024-47072](https://nvd.nist.gov/vuln/detail/CVE-2024-47072), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47072 · Whole record: https://cve.day/CVE-2024-47072.json · Rebuilt by cve.day 2026-11-25T22:58:47.892Z
