CVE catalog

CVE-2021-39145

libxstream-java affected and fixed versions

[CVE catalog]

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

Severity
High · CVSS 8.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.06% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixielibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debiantrixielibxstream-java1.4.21-1Fixed[CVE-2021-39145]
Debiansidlibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debiansidlibxstream-java1.4.21-2Fixed[CVE-2021-39145]
Debianforkylibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debianforkylibxstream-java1.4.21-2Fixed[CVE-2021-39145]
Debianbookwormlibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debianbookwormlibxstream-java1.4.20-1+deb12u1Fixed[CVE-2021-39145]

Showing 8 fix observations. All 17 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormlibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debianbookwormlibxstream-java1.4.20-1+deb12u1Fixed[CVE-2021-39145]
Debianforkylibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debianforkylibxstream-java1.4.21-2Fixed[CVE-2021-39145]
Debiansidlibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debiansidlibxstream-java1.4.21-2Fixed[CVE-2021-39145]
Debiantrixielibxstream-java1.4.18-1FixedDistribution-reported fixed boundary[CVE-2021-39145]
Debiantrixielibxstream-java1.4.21-1Fixed[CVE-2021-39145]
Ubuntu18.04libxstream-java1.4.10-1UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu18.04libxstream-java1.4.11.1-1+deb10u4build0.18.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu18.04libxstream-java1.4.11.1-1~18.04UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu18.04libxstream-java1.4.11.1-1~18.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu18.04libxstream-java1.4.11.1-1~18.04.2UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu20.04libxstream-java1.4.11.1-1UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu20.04libxstream-java1.4.11.1-1ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu20.04libxstream-java1.4.11.1-1ubuntu0.2UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Ubuntu20.04libxstream-java1.4.11.1-1ubuntu0.3UnknownSource applicability is not established[UBUNTU-CVE-2021-39145]
Original provider fields
{
  "package_releases": [
    {
      "name": "libxstream-java",
      "status": "fixed",
      "release": "sid",
      "version": "1.4.21-2"
    },
    {
      "name": "libxstream-java",
      "status": "fixed",
      "release": "forky",
      "version": "1.4.21-2"
    },
    {
      "name": "libxstream-java",
      "status": "fixed",
      "release": "trixie",
      "version": "1.4.21-1"
    },
    {
      "name": "libxstream-java",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.4.20-1+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 998054,
      "name": "libxstream-java",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.4.18-1"
    },
    {
      "bug": 998054,
      "name": "libxstream-java",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.4.18-1"
    },
    {
      "bug": 998054,
      "name": "libxstream-java",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.4.18-1"
    },
    {
      "bug": 998054,
      "name": "libxstream-java",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.4.18-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "xstream",
      "ranges": [
        {
          "fixed": "1.4.18",
          "introduced": "",
          "last_affected": "",
          "start_excluding": ""
        }
      ],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "1.4.18",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "debian_linux",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "fedora",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "snapmanager",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "business_activity_monitoring",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "commerce_guided_search",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "communications_billing_and_revenue_management_elastic_charging_engine",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "communications_cloud_native_core_automated_test_suite",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "communications_cloud_native_core_binding_support_function",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "communications_cloud_native_core_policy",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "communications_unified_inventory_management",
      "ranges": [],
      "ecosystem": "cpe",
      "provider_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39145",
      "fixed_version": "",
      "provider_source": "nvd",
      "provider_record_id": "NVD-CVE-2021-39145",
      "provider_updated_at": "2026-10-07T20:17:06.043"
    },
    {
      "name": "libxstream-java",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.11.1-1+deb10u4build0.18.04.1"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.4.10-1",
        "1.4.11.1-1~18.04",
        "1.4.11.1-1~18.04.1",
        "1.4.11.1-1~18.04.2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39145",
      "fixed_version": "1.4.11.1-1+deb10u4build0.18.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-39145",
      "provider_updated_at": "2026-02-04T02:57:09.354376Z",
      "applicability_unknown": true
    },
    {
      "name": "libxstream-java",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.11.1-1ubuntu0.3"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.4.11.1-1",
        "1.4.11.1-1ubuntu0.1",
        "1.4.11.1-1ubuntu0.2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-39145",
      "fixed_version": "1.4.11.1-1ubuntu0.3",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-39145",
      "provider_updated_at": "2026-02-04T02:57:09.354376Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #998054]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.4.20-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · bookworm; dsa · libxstream-java · debian · 12

    • 1.4.20-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · bookworm; dsa · libxstream-java · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.4.21-1 · all · trixie

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · 13

    • 1.4.21-1 · all · trixie

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · 13

Observed:

References