KeygraphLabs · CVE MCP

CVE-2017-7957 · mitre

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 'void' during unmarshalling, leading to a remote application crash, as demonstrated by an xstream.fromXML(" ") call.

Published 2017-04-29, last changed 2026-10-08. Weakness: CWE-20.

CVSS
7.5
high, from NVD
EPSS
4.97%
percentile 92.4%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: com.thoughtworks.xstream:xstream 1.4.10 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in x-stream/xstream by 6e546ec366, 8542d02d9a, b3570be2f3. Functions changed by the fix: newInstance, allows, setupSecurity, setupConverters, unmarshal, addPermission, InitializationException, canConvert, marshal. Regression tests: xstream/src/test/com/thoughtworks/acceptance/SecurityVulnerabilityTest.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-04-29Published
2020-06-30Package advisory GHSA-7hwc-46rm-65jh
2026-10-08Record last changed
2026-11-30EPSS when our history starts: 4.93%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-7hwc-46rm-65jhcom.thoughtworks.xstream:xstream (Maven)1.4.10

Also known as: GHSA-7hwc-46rm-65jh

Related

CVEPublishedCVSSSummary
CVE-2024-470722024-11-087.5XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream
CVE-2022-419662022-12-287.5XStream Denial of Service via stack overflow
CVE-2022-401512022-09-167.5Stack Buffer Overflow in xstream
CVE-2021-438592022-02-017.5Denial of Service by injecting highly recursive collections or maps in XStream
CVE-2021-391522021-08-238.5A Server-Side Forgery Request vulnerability in XStream via HashMap unmarshaling
CVE-2021-391502021-08-238.5A Server-Side Forgery Request vulnerability in XStream via PriorityQueue unmarshaling
CVE-2021-391402021-08-236.3XStream can cause a Denial of Service
CVE-2021-391542021-08-238.5XStream is vulnerable to an Arbitrary Code Execution attack

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-7957, or call /api/v1/vulnerabilities/CVE-2017-7957. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org