ADVISORIES

Vulnerability

CVE-2021-39153

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, if using the version out of the box with Java runtime version 14 to 8 or with JavaFX installed. 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.

18 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-8r85-fw2g-cvhh
    CVE-2021-39153 Chainguard Updated 5 November 2026
  • CGA-cw49-9rf6-qrwp
    CVE-2021-39153 Chainguard Updated 5 November 2026
  • CGA-fv4q-99m6-vgq2
    CVE-2021-39153 Chainguard Updated 5 November 2026
  • CGA-wqj4-5f84-6mxw
    CVE-2021-39153 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-39153

    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-39153 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-2q8x-2p7f-574v

    XStream is vulnerable to an Arbitrary Code Execution attack

    High CVE-2021-39153 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-39153

    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-39153 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
  • openSUSE-SU-2024:10592-1

    xstream-1.4.18-1.1 on GA media

    Known exploited CVE-2016-3674CVE-2017-7957CVE-2020-26217CVE-2020-26258 openSUSE Updated 4 February 2026

References