Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-6952
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:26 UTC · Revision 1

Source evidence

CVE-2017-6952

core-osv · Original source

Published 16 Mar 2017, 21:59 UTC

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.

osv:CVE-2017-6952
Complete source record
{
  "id": "929c5bd1ea1f7ce19ea466a280ac690a9ddfbea5d9acd62abfd1e8e510914b66",
  "url": "https://osv.dev/vulnerability/CVE-2017-6952",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-6952",
    "summary": "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.",
    "evidence": "osv:CVE-2017-6952",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-6952",
      "aliases": [
        "CVE-2017-6952",
        "GHSA-3v99-hpv7-9hh9",
        "PYSEC-2017-113"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/capstone-engine/capstone",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "e710e4fcf40302c25d7bdc28da93571a61f21f5d"
                },
                {
                  "fixed": "6fe86eef621b9849f51a5e1e5d73258a93440403"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6fe86eef621b9849f51a5e1e5d73258a93440403"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.4",
            "3.0.2",
            "3.0.1",
            "3.0.1-rc2",
            "3.0.1-rc1",
            "3.0",
            "2.1.2",
            "2.1.1",
            "2.1",
            "2.0",
            "2.0-rc1",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6952.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-6952-14b41878",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "331421095236088974240939207082651457896",
                    "26141748944074518931480929965628406728",
                    "95820818226443039693097938414962905137",
                    "116558242482712798238222381980312680457",
                    "299763978166784540046880263981008656968",
                    "115219685334755051106185114443715803301",
                    "9152360951771229736369403315931431559"
                  ]
                },
                "source": "https://github.com/capstone-engine/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403",
                "target": {
                  "file": "windows/winkernel_mm.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6952-9f1e2663",
                "digest": {
                  "length": 271,
                  "function_hash": "39689219605772159528049114784671918225"
                },
                "source": "https://github.com/capstone-engine/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403",
                "target": {
                  "file": "windows/winkernel_mm.c",
                  "function": "cs_winkernel_malloc"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:32:30Z"
          }
        }
      ],
      "modified": "2026-10-20T13:32:30.864946467Z",
      "provider": "osv",
      "references": [
        "https://github.com/aquynh/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-6952",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387792,
  "published_at": "2017-03-16T21:59:00.167+00:00"
}