ADVISORIES

Vulnerability

CVE-2021-43859

XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.

17 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • CGA-52hf-hr4r-4wph
    CVE-2021-43859 Chainguard Updated 5 November 2026
  • CGA-c2wf-3h79-j572
    CVE-2021-43859 Chainguard Updated 5 November 2026
  • CGA-g6xm-cx2f-6vcf
    CVE-2021-43859 Chainguard Updated 5 November 2026
  • CGA-hq8q-j58p-47p4
    CVE-2021-43859 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-43859

    XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel…

    CVE-2021-43859 Debian Updated 23 October 2026
  • DLA-2924-1

    libxstream-java - security update

    CVE-2021-43859 Debian Updated 20 November 2026
  • DLA-4001-1

    libxstream-java - security update

    CVE-2021-43859CVE-2024-47072 Debian Updated 20 November 2026
  • GHSA-rmr5-cpv2-vgjf

    Denial of Service by injecting highly recursive collections or maps in XStream

    High CVE-2021-43859 Maven Updated 8 July 2026
  • OESA-2022-1512

    xstream security update

    High CVE-2021-43859 openEuler Updated 18 August 2026
  • OESA-2022-2066

    xstream security update

    High CVE-2021-43859 openEuler Updated 18 August 2026
  • RHSA-2022:1420

    Red Hat Security Advisory: OpenShift Container Platform 3.11.685 security and bug fix update

    CVE-2021-43859CVE-2022-25173CVE-2022-25174CVE-2022-25175 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2021-43859

    xstream: Injecting highly recursive collections or maps can cause a DoS

    Moderate CVE-2021-43859 Red Hat Updated 7 November 2026
  • SUSE-SU-2022:0817-1

    Security update for xstream

    CVE-2021-43859 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2021-43859

    XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel…

    Moderate CVE-2021-43859 SUSE Updated 11 October 2026
  • UBUNTU-CVE-2021-43859

    XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel…

    CVE-2021-43859 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2022:0817-1

    Security update for xstream

    CVE-2021-43859 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11809-1

    xstream-1.4.19-1.1 on GA media

    CVE-2021-43859 openSUSE Updated 4 February 2026

References