Skip to main content
CVE-2024-47072VulnerabilityPublished Updated

Com.thoughtworks.xstream:xstream: XStream is vulnerable to a Denial of Service attack due to stack overflow from a

Affects com.thoughtworks.xstream:xstreamSource GCVE Database

0
Compare
Authoritative record:CVE-2024-47072· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 1.4.21 soon.

Data as of 31 Oct 2026, 01:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 1.4.21
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade com.thoughtworks.xstream:xstream to 1.4.21.

Affected software

ProductAffectedFixed in
Mavencom.thoughtworks.xstream:xstreamAffected
  • <1.4.21
Fixed in
  • 1.4.21

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to XStream version 1.4.21 or later, where the vulnerability is fixed by detecting input manipulation and preventing the stack overflow. If upgrading is not immediately possible, client code should catch StackOverflowError exceptions when using the BinaryStreamDriver to mitigate crashes.

Description

XStream versions prior to 1.4.21 are vulnerable to a denial of service (DoS) attack caused by a stack overflow when processing manipulated input streams using the BinaryStreamDriver. This vulnerability allows a remote attacker to crash the application by triggering a stack overflow error. The issue is fixed in version 1.4.21, which detects the manipulation and raises an InputManipulationException instead of crashing. Until patched, the only workaround is to catch the StackOverflowError in client code using the BinaryStreamDriver configuration.

References

Community reviews

Loading reviews…