Skip to content
Heist/ feed
Back to feed
MediumFix available

libxstream-java — security advisory

Type: advisorySources: OSVAdvisory ID: 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 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.

Products
libxstream-java
Affected versions
Not specified
Fixed versions
1.4.18-1
CVEs
CVE-2021-39140
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:50 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-39140

core-osv · Original source

Published 23 Aug 2021, 19:15 UTC

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.

osv:DEBIAN-CVE-2021-39140

libxstream-java

Fixed versions: 1.4.18-1

libxstream-java

Fixed versions: 1.4.18-1

libxstream-java

Fixed versions: 1.4.18-1

Complete source record
{
  "id": "92865739cfd779552f599a0b8ba7acd7d0fe8f0c0522f4c8a2d3e2f7a0225b44",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-39140",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-39140",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-39140",
    "products": [
      {
        "name": {
          "value": "libxstream-java",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.18-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxstream-java",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.18-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxstream-java",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.18-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-39140",
      "aliases": [
        "DEBIAN-CVE-2021-39140"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.18-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxstream-java",
            "purl": "pkg:deb/debian/libxstream-java?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-39140.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.18-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxstream-java",
            "purl": "pkg:deb/debian/libxstream-java?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-39140.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.18-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxstream-java",
            "purl": "pkg:deb/debian/libxstream-java?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-39140.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:50.355413637Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-39140"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-39140"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-39140",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422419,
  "published_at": "2021-08-23T19:15:10.44+00:00"
}