ADVISORIES

Vulnerability

CVE-2021-39152

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. 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](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.

19 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-2pvf-v767-mf2j
    CVE-2021-39152 Chainguard Updated 5 November 2026
  • CGA-5775-mcx2-rjrf
    CVE-2021-39152 Chainguard Updated 5 November 2026
  • CGA-6pmq-56p2-4wxm
    CVE-2021-39152 Chainguard Updated 5 November 2026
  • CGA-p5vf-6qqv-jqcx
    CVE-2021-39152 Chainguard Updated 5 November 2026
  • CGA-p9x3-5rmj-x5q4
    CVE-2021-39152 Chainguard Updated 5 November 2026
  • CGA-pw54-v6c4-4w78
    CVE-2021-39152 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-39152

    XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by…

    CVE-2021-39152 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-xw4p-crpj-vjx2

    A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host

    High CVE-2021-39152 Maven Updated 10 September 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-39152

    XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by…

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