CVE-2017-6952 · mitre
CVE-2017-6952
Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4 and earlier allows attackers to cause a denial of service (heap-based buffer overflow in a kernel driver) or possibly have unspecified other impact via a large value.
Published 2017-03-16, last changed 2026-06-17. Weakness: CWE-190.
How to fix
Upgrade to a fixed version: capstone 3.0.5rc2 (PyPI). 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 aquynh/capstone by 6fe86eef62, 6fe86eef62. Functions changed by the fix: cs_winkernel_malloc. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-03-16 | Published |
| 2017-03-16 | Package advisory PYSEC-2017-113 |
| 2022-05-17 | Package advisory GHSA-3v99-hpv7-9hh9 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.24% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-3v99-hpv7-9hh9 | capstone (PyPI) | 3.0.5rc2 |
| PYSEC-2017-113 | capstone (PyPI) | 3.0.5rc2 |
Also known as: GHSA-3v99-hpv7-9hh9, PYSEC-2017-113
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-47143 | 2026-07-21 | 5.9 | Capstone has a NULL Pointer Dereference with 3DNow! opcodes |
| CVE-2016-7151 | 2019-05-15 | 5.5 | same package: capstone (PyPI) |
| CVE-2026-107891 | 2026-11-05 | 8.1 | same weakness (CWE-190) from the same CNA (mitre) |
| CVE-2026-106971 | 2026-10-28 | 7.5 | same weakness (CWE-190) from the same CNA (mitre) |
| CVE-2026-106676 | 2026-10-26 | 5.4 | same weakness (CWE-190) from the same CNA (mitre) |
| CVE-2025-66969 | 2026-10-16 | 7.5 | same weakness (CWE-190) from the same CNA (mitre) |
| CVE-2026-110449 | 2026-10-14 | 7.5 | same weakness (CWE-190) from the same CNA (mitre) |
| CVE-2026-95121 | 2026-10-13 | 7.8 | same weakness (CWE-190) from the same CNA (mitre) |
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-6952, or call /api/v1/vulnerabilities/CVE-2017-6952. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.