CVE-2017-7957
Denial of service in XStream
Reported by mitre · Published April 29, 2017
xstream is fixed in 1.4.9 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xstream:xstream | Maven Central | 1.4.9 |
| com.thoughtworks.xstream:xstream | Maven Central | 1.4.10 |
| libxstream-java | Ubuntu:14.04:LTS | 1.4.7-1ubuntu0.1 |
| xstream | xstream | 1.4.9 |
| libxstream-java | Ubuntu:16.04:LTS | 1.4.8-1ubuntu0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | xstream:xstream | 0 |
| Maven | com.thoughtworks.xstream:xstream | 0 |
| n/a | n/a | * |
Timeline
- Apr 29, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 CVE Updated
- Mar 17, 2026 Security Advisory (9 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (7 in total, the first dated here)
- Sep 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-7957
vulnetix vdb fixes CVE-2017-7957
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-7957/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:2888 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1832 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2889 vendor-advisoryx_refsource_REDHAT
- 1039499 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- xstream-cve20177957-dos(125800) vdb-entryx_refsource_XF
- DSA-3841 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- 100687 vdb-entryx_refsource_BID
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7957 advisory
- https://access.redhat.com/security/cve/cve-2017-7957 url
- https://security-tracker.debian.org/tracker/CVE-2017-7957 url
- https://nvd.nist.gov/vuln/detail/CVE-2017-7957 advisory
- https://github.com/advisories/GHSA-7hwc-46rm-65jh advisory
- https://github.com/x-stream/xstream/commit/6e546ec366419158b1e393211be6d78ab9604ab patch
- https://github.com/x-stream/xstream/commit/8542d02d9ac5d384c85f4b33d6c1888c53bd55d patch
- https://github.com/x-stream/xstream/commit/b3570be2f39234e61f99f9a20640756ea71b1b4 patch
- https://github.com/x-stream/xstream url