ADVISORIES

Vulnerability

CVE-2021-29505

XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.

16 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2021-1698

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

    Important CVE-2021-29505 Amazon Linux Updated 5 August 2021
  • CGA-62vc-35vx-jfwv
    CVE-2021-29505 Chainguard Updated 5 November 2026
  • CGA-8q4j-2m96-hfrp
    CVE-2021-29505 Chainguard Updated 5 November 2026
  • CGA-g7qc-v764-f825
    CVE-2021-29505 Chainguard Updated 5 November 2026
  • CGA-j3mm-8w2h-8597
    CVE-2021-29505 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-29505

    XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by…

    CVE-2021-29505 Debian Updated 23 October 2026
  • DLA-2704-1

    libxstream-java - security update

    CVE-2021-29505 Debian Updated 20 November 2026
  • ELSA-2021-2683

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

    Important CVE-2021-29505 Oracle Linux Updated 13 July 2021
  • GHSA-7chv-rrw6-w6fc

    XStream is vulnerable to a Remote Command Execution attack

    High CVE-2021-29505 Maven Updated 8 July 2026
  • OESA-2021-1208

    xstream security update

    High CVE-2021-29505 openEuler Updated 18 August 2026
  • RHSA-2021:2683

    Red Hat Security Advisory: xstream security update

    CVE-2021-29505 Red Hat Updated 8 October 2026
  • SUSE-SU-2021:1995-1

    Security update for xstream

    CVE-2021-29505 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-29505

    XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by…

    CVE-2021-29505 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2021:0911-1

    Security update for xstream

    CVE-2021-29505 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1995-1

    Security update for xstream

    CVE-2021-29505 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