Denial of service in XStream
XStream through 1.4.9, when a certain denyTypes workaround is not used, mishandles attempts to create an instance of the primitive type 'void' during unmarshalling, leading to a remote application crash, as demonstrated by an xstream.fromXML("<void/>") call.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.thoughtworks.xstream:xstream | < 1.4.10 | 1.4.10 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-7957
- https://github.com/x-stream/xstream/commit/6e546ec366419158b1e393211be6d78ab9604ab
- https://github.com/x-stream/xstream/commit/8542d02d9ac5d384c85f4b33d6c1888c53bd55d
- https://github.com/x-stream/xstream/commit/b3570be2f39234e61f99f9a20640756ea71b1b4
- https://access.redhat.com/errata/RHSA-2017:1832
- https://access.redhat.com/errata/RHSA-2017:2888
- https://access.redhat.com/errata/RHSA-2017:2889
- https://exchange.xforce.ibmcloud.com/vulnerabilities/125800
- https://github.com/x-stream/xstream
- https://www-prd-trops.events.ibm.com/node/715749
- http://www.debian.org/security/2017/dsa-3841
- http://www.securityfocus.com/bid/100687
- http://www.securitytracker.com/id/1039499
- http://x-stream.github.io/CVE-2017-7957.html
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
com.thoughtworks.xstream:xstream- Disclosed
- 30.06.2020
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7hwc-46rm-65jh - CC BY 4.0
Vulnerability history: com.thoughtworks.xstream:xstream
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 37
- First → latest
- 05.2019 11.2024
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 2
- High 22
- Medium 13
Disclosures per year
- 2019: 2
- 2020: 5
- 2021: 26
- 2022: 3
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Denial of service in XStream this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.