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.

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Fedoraproject Subscribe
Jenkins Subscribe
Jenkins Subscribe
Commerce Guided Search Subscribe
Communications Brm - Elastic Charging Engine Subscribe
Communications Cloud Native Core Automated Test Suite Subscribe
Communications Diameter Intelligence Hub Subscribe
Communications Policy Management Subscribe
Flexcube Private Banking Subscribe
Retail Xstore Point Of Service Subscribe
Camel Quarkus Subscribe
Jboss Fuse Subscribe
Openshift Subscribe
Xstream Subscribe
Xstream Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2924-1 libxstream-java security update
Debian DLA Debian DLA DLA-4001-1 libxstream-java security update
EUVD EUVD EUVD-2022-1176 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.
Github GHSA Github GHSA GHSA-rmr5-cpv2-vgjf Denial of Service by injecting highly recursive collections or maps in XStream
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01535}

epss

{'score': 0.01665}


Fri, 23 May 2025 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Jenkins
Jenkins jenkins
Xstream
Xstream xstream
CPEs cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:* cpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:*
cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*
Vendors & Products Xstream Project
Xstream Project xstream
Jenkins
Jenkins jenkins
Xstream
Xstream xstream

Tue, 22 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-03T21:45:34.625Z

Reserved: 2021-11-16T00:00:00.000Z

Link: CVE-2021-43859

cve-icon Vulnrichment

Updated: 2025-11-03T21:45:34.625Z

cve-icon NVD

Status : Modified

Published: 2022-02-01T12:15:08.080

Modified: 2025-11-03T22:15:52.883

Link: CVE-2021-43859

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-01-29T00:00:00Z

Links: CVE-2021-43859 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses