Home / x-stream / xstream / CVE-2021-43859
CVE-2021-43859: is it exploited, and which versions of x-stream xstream are affected and fixed?
CVE-2021-43859 is a denial of service (uncontrolled resource consumption) vulnerability in x-stream xstream. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: com.thoughtworks.xstream:xstream before 1.4.19 (GitHub advisory GHSA-rmr5-cpv2-vgjf). Fixed in 1.4.19 (GitHub advisory GHSA-rmr5-cpv2-vgjf). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:51 UTC.
What is CVE-2021-43859?
Denial of Service by injecting highly recursive collections or maps in XStream
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.
From the CVE record by GitHub_M, last updated November 3, 2025, 21:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| x-stream | xstream | < 1.4.19 |
As the CVE record by GitHub_M states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | < 1.4.19 | 1.4.19 | GHSA-rmr5-cpv2-vgjf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: Denial of Service by injecting highly recursive collections or maps in XStream.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jenkins | jenkins | before 2.319.3 | application |
| jenkins | jenkins | from 2.321 before 2.334 | application |
| xstream | xstream | before 1.4.19 | application |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
| debian | debian linux | 9.0 | operating system |
| oracle | commerce guided search | 11.3.2 | application |
| oracle | communications brm - elastic charging engine | before 12.0.0.4.6 | application |
| oracle | communications brm - elastic charging engine | 12.0.0.5.0 | application |
| oracle | communications cloud native core automated test suite | 1.9.0 | application |
| oracle | communications diameter intelligence hub | from 8.0.0 through 8.1.0 | application |
| oracle | communications diameter intelligence hub | from 8.2.0 through 8.2.6 | application |
| oracle | communications policy management | 12.6.0.0.0 | application |
| oracle | flexcube private banking | 12.1.0 | application |
| oracle | retail xstore point of service | 16.0.6 | application |
| oracle | retail xstore point of service | 17.0.4 | application |
| oracle | retail xstore point of service | 18.0.3 | application |
| oracle | retail xstore point of service | 19.0.2 | application |
| oracle | retail xstore point of service | 20.0.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-43859?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-43859 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 22, 2025)
- EPSS
- 8.52% probability of exploitation activity in the next 30 days, percentile 95.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf x_refsource_CONFIRM
- https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846 x_refsource_MISC
- https://x-stream.github.io/CVE-2021-43859.html x_refsource_MISC
- [oss-security] 20220209 Vulnerability in Jenkins mailing-list, x_refsource_MLIST
- FEDORA-2022-ad5cf1c0dd vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-983a78275c vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220215 [SECURITY] [DLA 2924-1] libxstream-java security update mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/12/msg00023.html
When was it published, and where is the official record?
- Reserved
- November 16, 2021
- Published
- February 1, 2022, 12:08 UTC
- CVE record updated
- November 3, 2025, 21:45 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:11 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect xstream?
- Aug 23, 2021CVE-2021-39144 x-stream xstream: code injection (remote code execution) exploited
- Nov 7, 2024CVE-2024-47072 x-stream xstream: stack buffer overflow
- Dec 27, 2022CVE-2022-41966 x-stream xstream: buffer overflow
- Aug 23, 2021CVE-2021-39150 x-stream xstream: deserialization of untrusted data
- Aug 23, 2021CVE-2021-39152 x-stream xstream: deserialization of untrusted data
- Aug 23, 2021CVE-2021-39140 x-stream xstream: deserialization of untrusted data
- Aug 23, 2021CVE-2021-39149 x-stream xstream: unrestricted file upload
- Aug 23, 2021CVE-2021-39148 x-stream xstream: unrestricted file upload
Questions about CVE-2021-43859
Is CVE-2021-43859 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 8.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of x-stream xstream are affected by CVE-2021-43859?
com.thoughtworks.xstream:xstream before 1.4.19, per the GitHub advisory GHSA-rmr5-cpv2-vgjf. The tables above give every range the sources list.
Which version fixes CVE-2021-43859?
1.4.19, per the GitHub advisory GHSA-rmr5-cpv2-vgjf. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-43859?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-43859?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.