CVE-2021-43859: Denial of Service by injecting highly recursive collections or maps in XStream
Vulnerability summary
CVE-2021-43859 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in debian debian_linux. EPSS estimates a 7.93% chance of exploitation in the next 30 days, higher than 94.7% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 01-02-2022PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
7.93%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
No change 0.00 pp
From 7.93% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundXstream
Maturity: poc
Exploit Reference (x-stream.github.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oracle7 products
- commerce_guided_search11.3.2
- communications_brm_-_elastic_charging_engine< 12.0.0.4.6 | 12.0.0.5.0
- communications_cloud_native_core_automated_test_suite1.9.0
- communications_diameter_intelligence_hub≥ 8.0.0, ≤ 8.1.0 | ≥ 8.2.0, ≤ 8.2.6
- communications_policy_management12.6.0.0.0
Suse4 products
- xstream&distro=SUSE Linux Enterprise Module for Development Tools 15 SP3< 1.4.19-3.18.2
- xstream&distro=SUSE Linux Enterprise Real Time 15 SP2< 1.4.19-3.18.2
- xstream&distro=SUSE Manager Server Module 4.1< 1.4.19-3.18.2
- xstream&distro=SUSE Manager Server Module 4.2< 1.4.19-3.18.2
Chainguard2 products
- hadoop-fips-3.3.6All versions (No fix recorded)
- hadoop-fips-3.4.2All versions (No fix recorded)
Debian2 products
- libxstream-java< 1.4.11.1-1+deb9u5 | < 1.4.19-1
- debian_linuxEOL9.0
Opensuse2 products
- xstream&distro=openSUSE Leap 15.3< 1.4.19-3.18.2
- xstream&distro=openSUSE Tumbleweed< 1.4.19-1.1
Com.thoughtworks.xstream1 product
- xstream< 1.4.19
Fedoraproject1 product
- fedoraEOL34 | 35
Jenkins1 product
- jenkins< 2.319.3 | ≥ 2.321, < 2.334
Ubuntu1 product
- libxstream-javaAll versions (No fix recorded)
X-stream1 product
- xstream< 1.4.19
Xstream1 product
- xstream< 1.4.19
11 vendors · 23 products
References
23 links- github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjfX Refsource CONFIRMREPORTEVIDENCEWEBExploitThird Party Advisory
- github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846X Refsource MISCREPORTFIXWEBPatchThird Party Advisory
- www.openwall.com/lists/oss-security/2022/02/09/1Mailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/02/msg00018.htmlMailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory
Show all 23 references
- lists.opensuse.org/archives/…Advisory