Home / x-stream / xstream / CVE-2021-29505
CVE-2021-29505: is it exploited, and which versions of x-stream xstream are affected and fixed?
CVE-2021-29505 is a code injection (remote code execution) 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, 17:39 UTC). Affected: com.thoughtworks.xstream:xstream before 1.4.17 (GitHub advisory GHSA-7chv-rrw6-w6fc). Fixed in 1.4.17 (GitHub advisory GHSA-7chv-rrw6-w6fc). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.
What is CVE-2021-29505?
XStream is vulnerable to a Remote Command Execution attack
XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.
From the CVE record by GitHub_M, last updated October 7, 2026, 20:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| x-stream | xstream | < 1.4.17 |
As the CVE record by GitHub_M states it, last updated October 7, 2026. 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.17 | 1.4.17 | GHSA-7chv-rrw6-w6fc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 30, 2025. Summary: XStream is vulnerable to a Remote Command Execution attack.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xstream | xstream | before 1.4.17 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
| netapp | snapmanager | all versions | application |
| oracle | banking cash management | 14.2 | application |
| oracle | banking cash management | 14.3 | application |
| oracle | banking cash management | 14.5 | application |
| oracle | banking corporate lending process management | 14.2.0 | application |
| oracle | banking corporate lending process management | 14.3.0 | application |
| oracle | banking corporate lending process management | 14.5.0 | application |
| oracle | banking credit facilities process management | 14.2.0 | application |
| oracle | banking credit facilities process management | 14.3.0 | application |
| oracle | banking credit facilities process management | 14.5.0 | application |
| oracle | banking supply chain finance | 14.2.0 | application |
| oracle | banking trade finance process management | 14.5.0 | application |
| oracle | business activity monitoring | 11.1.1.9.0 | application |
| oracle | business activity monitoring | 12.2.1.3.0 | application |
| oracle | business activity monitoring | 12.2.1.4.0 | application |
| oracle | communications brm - elastic charging engine | 11.3 | application |
| oracle | communications brm - elastic charging engine | 12.0 | application |
| oracle | communications unified inventory management | 7.3.4 | application |
NVD analysis (status Modified), last modified October 7, 2026, 21:17 UTC.
How severe is CVE-2021-29505?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/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-29505 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 7, 2026)
- EPSS
- 77.2% probability of exploitation activity in the next 30 days, percentile 99.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
- CWE-502 Deserialization of Untrusted Data
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Where are the vendor advisories and references?
- https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc x_refsource_CONFIRM
- https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f x_refsource_MISC
- https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227 x_refsource_MISC
- https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210708-0007 x_refsource_MISC
- https://www.debian.org/security/2021/dsa-5004 x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://x-stream.github.io/CVE-2021-29505.html x_refsource_MISC
- [jmeter-dev] 20210607 [GitHub] [jmeter] sseide opened a new pull request #667: update x-stream to 1.4.17 (from 1.4.16) mailing-list, x_refsource_MLIST, x_transferred
- FEDORA-2021-fbad11014a vendor-advisory, x_refsource_FEDORA, x_transferred
- FEDORA-2021-d894ca87dc vendor-advisory, x_refsource_FEDORA, x_transferred
- https://security.netapp.com/advisory/ntap-20210708-0007/ x_refsource_CONFIRM, x_transferred
- FEDORA-2021-5e376c0ed9 vendor-advisory, x_refsource_FEDORA, x_transferred
When was it published, and where is the official record?
- Reserved
- March 30, 2021
- Published
- May 28, 2021, 21:00 UTC
- CVE record updated
- October 7, 2026, 20:02 UTC by GitHub_M
- NVD
- Modified, last modified October 7, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 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
- Feb 1, 2022CVE-2021-43859 x-stream xstream: denial of service (uncontrolled resource consumption)
- 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
Questions about CVE-2021-29505
Is CVE-2021-29505 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 77.2% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of x-stream xstream are affected by CVE-2021-29505?
com.thoughtworks.xstream:xstream before 1.4.17, per the GitHub advisory GHSA-7chv-rrw6-w6fc. The tables above give every range the sources list.
Which version fixes CVE-2021-29505?
1.4.17, per the GitHub advisory GHSA-7chv-rrw6-w6fc. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-29505?
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-29505?
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.