ADVISORIES

Vulnerability

CVE-2021-39140

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability 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. 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-5m63-389r-pm6v
    CVE-2021-39140 Chainguard Updated 5 November 2026
  • CGA-9x9x-6mr5-74fx
    CVE-2021-39140 Chainguard Updated 5 November 2026
  • CGA-jx9p-c3p5-rfhg
    CVE-2021-39140 Chainguard Updated 5 November 2026
  • CGA-r6v6-4w5q-h2hv
    CVE-2021-39140 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-39140

    XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or…

    CVE-2021-39140 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-6wf9-jmg9-vxcc

    XStream can cause a Denial of Service

    Moderate CVE-2021-39140 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-39140

    XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or…

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