CVE-2021-29505
XStream is vulnerable to a Remote Command Execution attack
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
Official description from the CVE record, published by GitHub_M. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
CVSS 3.1 High 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector: Network
The vulnerable component can be reached over a network, possibly from the Internet.
Attack complexity: High
The attack depends on conditions outside the attacker's control, so it takes preparation.
Privileges required: Low
A basic user account is needed.
User interaction: None
No action from any user is needed.
Scope: Unchanged
The impact stays within the vulnerable component.
Confidentiality impact: High
Serious or total effect on the secrecy of data.
Integrity impact: High
Serious or total effect on the trustworthiness of data.
Availability impact: High
Serious or total effect on availability.
| Metric | Value | What it means |
|---|---|---|
| Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. |
| Attack complexity | High | The attack depends on conditions outside the attacker's control, so it takes preparation. |
| Privileges required | Low | A basic user account is needed. |
| User interaction | None | No action from any user is needed. |
| Scope | Unchanged | The impact stays within the vulnerable component. |
| Confidentiality impact | High | Serious or total effect on the secrecy of data. |
| Integrity impact | High | Serious or total effect on the trustworthiness of data. |
| Availability impact | High | Serious or total effect on availability. |
CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.
EPSS
- Score
- 0.77232 (77.2% probability)
- Percentile
- 99.6%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
CISA assessment as of Oct 7, 2026
- Automatable
- no
- Technical impact
- total
Weakness (CWE)
Affected products
x-stream xstream
- affected: < 1.4.17
References
- github.com/x-stream/xstream/security/advisories/GHSA-7chv-r…
- github.com/x-stream/xstream/commit/24fac82191292c6ae25f9450…
- github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbb…
- lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df…
- lists.debian.org/debian-lts-announce/2021/07/msg00004.html
- lists.fedoraproject.org/archives/list/package-announce@list…
- lists.fedoraproject.org/archives/list/package-announce@list…
- lists.fedoraproject.org/archives/list/package-announce@list…
- security.netapp.com/advisory/ntap-20210708-0007
- debian.org/security/2021/dsa-5004
- oracle.com/security-alerts/cpuapr2022.html
- oracle.com/security-alerts/cpujan2022.html
- oracle.com/security-alerts/cpujul2022.html
- oracle.com/security-alerts/cpuoct2021.html
- x-stream.github.io/CVE-2021-29505.html
- [jmeter-dev] 20210607 [GitHub] [jmeter] sseide opened a new pull request #667: update x-stream to 1.4.17 (from 1.4.16) (lists.apache.org)mailing-list
- FEDORA-2021-fbad11014a (lists.fedoraproject.org)vendor-advisory
- FEDORA-2021-d894ca87dc (lists.fedoraproject.org)vendor-advisory
- security.netapp.com/advisory/ntap-20210708-0007
- FEDORA-2021-5e376c0ed9 (lists.fedoraproject.org)vendor-advisory
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:52 UTC. Sources and licenses