CVE-2021-39141

published 23 Aug 2021 · updated 7 Oct 2026

XStream is vulnerable to an Arbitrary Code Execution attack

10.0CriticalCVSS 8.5EPSS 16%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 16%. No fixed version is recorded.

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
x-stream<1.4.18

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-39141 severity on Zeptric[![CVE-2021-39141](https://zeptric.io/badge/cve/CVE-2021-39141.svg)](https://zeptric.io/cve/CVE-2021-39141)