ADVISORIES

Vulnerability

CVE-2021-39141

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-pchc-4r7c-39pc
    CVE-2021-39141 Chainguard Updated 5 November 2026
  • CGA-qgxf-hq27-qx95
    CVE-2021-39141 Chainguard Updated 5 November 2026
  • CGA-qwf6-v94x-hh83
    CVE-2021-39141 Chainguard Updated 5 November 2026
  • CGA-wv97-6v8m-j3c4
    CVE-2021-39141 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-39141

    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-39141 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-g5w6-mrj7-75h2

    XStream is vulnerable to an Arbitrary Code Execution attack

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

    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-39141 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