ADVISORIES

Vulnerability

CVE-2021-39154

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.

17 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2021-1729

    Amazon Linux 2 2017.12 - ALAS2-2021-1729: important priority package update for xstream

    Important Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 Amazon Linux Updated 9 December 2021
  • CGA-39hv-9jw3-rmw5
    CVE-2021-39154 Chainguard Updated 5 November 2026
  • CGA-647j-xpj7-rw62
    CVE-2021-39154 Chainguard Updated 5 November 2026
  • CGA-m35f-9w4r-mrrw
    CVE-2021-39154 Chainguard Updated 5 November 2026
  • CGA-wmc3-36qc-gc6r
    CVE-2021-39154 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-39154

    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…

    CVE-2021-39154 Debian Updated 23 October 2026
  • DLA-2769-1

    libxstream-java - security update

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 Debian Updated 20 November 2026
  • DSA-5004-1

    libxstream-java - security update

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 Debian Updated 20 November 2026
  • ELSA-2021-3956

    ELSA-2021-3956: xstream security update (IMPORTANT)

    Important Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 Oracle Linux Updated 25 October 2021
  • GHSA-6w62-hx7r-mw68

    XStream is vulnerable to an Arbitrary Code Execution attack

    High CVE-2021-39154 Maven Updated 8 July 2026
  • OESA-2021-1337

    xstream security update

    High Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 openEuler Updated 18 August 2026
  • RHSA-2021:3956

    Red Hat Security Advisory: xstream security update

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 Red Hat Updated 9 August 2026
  • SUSE-SU-2021:3476-1

    Security update for xstream

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-39154

    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…

    CVE-2021-39154 Ubuntu Updated 4 February 2026
  • USN-5946-1

    libxstream-java vulnerabilities

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2021:1401-1

    Security update for xstream

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:3476-1

    Security update for xstream

    Known exploited CVE-2021-39139CVE-2021-39140CVE-2021-39141CVE-2021-39144 openSUSE Updated 4 February 2026

References