ADVISORIES

Vulnerability

CVE-2021-21347

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

19 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2021-1645

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

    Important CVE-2021-21341CVE-2021-21343CVE-2021-21344CVE-2021-21345 Amazon Linux Updated 3 January 2024
  • CGA-pc2c-3cgv-q2f6
    CVE-2021-21347 Chainguard Updated 5 November 2026
  • CGA-rhcr-vcmp-gxvp
    CVE-2021-21347 Chainguard Updated 5 November 2026
  • CGA-rq4w-7j9x-4x9r
    CVE-2021-21347 Chainguard Updated 5 November 2026
  • CGA-v9x4-x49c-jf4x
    CVE-2021-21347 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-21347

    XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to load and execute arbitrary code from a remote host…

    CVE-2021-21347 Debian Updated 23 October 2026
  • DLA-2616-1

    libxstream-java - security update

    CVE-2021-21341CVE-2021-21342CVE-2021-21343CVE-2021-21344 Debian Updated 20 November 2026
  • ELSA-2021-1354

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

    Important CVE-2021-21344CVE-2021-21345CVE-2021-21346CVE-2021-21347 Oracle Linux Updated 27 April 2021
  • GHSA-qpfq-ph7r-qv6f

    XStream is vulnerable to an Arbitrary Code Execution attack

    Moderate CVE-2021-21347 Maven Updated 8 July 2026
  • OESA-2021-1185

    xstream security update

    Critical CVE-2021-21341CVE-2021-21342CVE-2021-21343CVE-2021-21344 openEuler Updated 18 August 2026
  • RHSA-2021:1354

    Red Hat Security Advisory: xstream security update

    CVE-2021-21344CVE-2021-21345CVE-2021-21346CVE-2021-21347 Red Hat Updated 8 October 2026
  • SUSE-SU-2021:1840-1

    Security update for xstream

    CVE-2021-21341CVE-2021-21342CVE-2021-21343CVE-2021-21344 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1840-2

    Security update for xstream

    CVE-2021-21341CVE-2021-21342CVE-2021-21343CVE-2021-21344 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-21347

    XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to load and execute arbitrary code from a remote host…

    CVE-2021-21347 Ubuntu Updated 4 February 2026
  • USN-4943-1

    libxstream-java vulnerabilities

    CVE-2020-26217CVE-2020-26258CVE-2020-26259CVE-2021-21341 Ubuntu Updated 27 April 2026
  • USN-6978-1

    libxstream-java vulnerabilities

    CVE-2016-3674CVE-2020-26217CVE-2020-26258CVE-2020-26259 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2021:0832-1

    Security update for xstream

    CVE-2021-21341CVE-2021-21342CVE-2021-21343CVE-2021-21344 openSUSE Updated 7 May 2025
  • openSUSE-SU-2021:1840-1

    Security update for xstream

    CVE-2021-21341CVE-2021-21342CVE-2021-21343CVE-2021-21344 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