CVE-2017-6952

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-6952
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-6952.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-6952
Aliases
Published
2017-03-16T21:59:00.167Z
Modified
2025-11-17T06:39:32.481975Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Integer overflow in the cswinkernelmalloc 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.

References

Affected packages

Git / github.com/aquynh/capstone

Affected ranges

Type
GIT
Repo
https://github.com/aquynh/capstone
Events
Introduced
0 Unknown introduced commit / All previous commits are affected

Git / github.com/capstone-engine/capstone

Affected ranges

Type
GIT
Repo
https://github.com/capstone-engine/capstone
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0

2.*

2.0
2.0-rc1
2.1
2.1-rc1
2.1.1
2.1.2

3.*

3.0
3.0-rc1
3.0-rc2
3.0-rc3
3.0.1
3.0.1-rc1
3.0.1-rc2
3.0.2
3.0.3
3.0.3-rc1
3.0.4
3.0.5-rc1
3.0.5-rc2

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/capstone-engine/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403",
        "signature_version": "v1",
        "signature_type": "Line",
        "id": "CVE-2017-6952-14b41878",
        "target": {
            "file": "windows/winkernel_mm.c"
        },
        "digest": {
            "line_hashes": [
                "331421095236088974240939207082651457896",
                "26141748944074518931480929965628406728",
                "95820818226443039693097938414962905137",
                "116558242482712798238222381980312680457",
                "299763978166784540046880263981008656968",
                "115219685334755051106185114443715803301",
                "9152360951771229736369403315931431559"
            ],
            "threshold": 0.9
        },
        "deprecated": false
    },
    {
        "source": "https://github.com/capstone-engine/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403",
        "signature_version": "v1",
        "signature_type": "Function",
        "id": "CVE-2017-6952-9f1e2663",
        "target": {
            "function": "cs_winkernel_malloc",
            "file": "windows/winkernel_mm.c"
        },
        "digest": {
            "length": 271.0,
            "function_hash": "39689219605772159528049114784671918225"
        },
        "deprecated": false
    }
]