Medium
Security advisory
Capstone 3.0.4 has an out-of-bounds vulnerability (SEGV caused by a read memory access) in X86_insn_reg_intel in arch/X86/X86Mapping.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-7151
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:14 UTC · Revision 1
Source evidence
Capstone 3.0.4 has an out-of-bounds vulnerability (SEGV caused by a read memory access) in X86_insn_reg_intel in arch/X86/X86Mapping.c.
osv:CVE-2016-7151
Complete source record
{
"id": "a395d2d98eef038692012c9a454ac831d05fb4f842d098b9534831019d5b5785",
"url": "https://osv.dev/vulnerability/CVE-2016-7151",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-7151",
"summary": "Capstone 3.0.4 has an out-of-bounds vulnerability (SEGV caused by a read memory access) in X86_insn_reg_intel in arch/X86/X86Mapping.c.",
"evidence": "osv:CVE-2016-7151",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2016-7151",
"aliases": [
"CVE-2016-7151",
"GHSA-xx4j-rvcc-2vhr"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/capstone-engine/capstone",
"type": "GIT",
"events": [
{
"introduced": "e710e4fcf40302c25d7bdc28da93571a61f21f5d"
},
{
"last_affected": "e710e4fcf40302c25d7bdc28da93571a61f21f5d"
},
{
"fixed": "87a25bb543c8e4c09b48d4b4a6c7db31ce58df06"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:capstone-engine:capstone:3.0.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.4"
},
{
"last_affected": "3.0.4"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "87a25bb543c8e4c09b48d4b4a6c7db31ce58df06"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7151.json",
"vanir_signatures": [
{
"id": "CVE-2016-7151-00248af1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"8568431934240585982139495907372124355",
"305083470353914768895393270293287726442",
"321885078504814570267058200137076517654",
"17213827468853544879361705343455830773",
"163159936672642813087764874824407803480",
"4334250100477693983519003650075821085",
"315956445406849831579525783280224677875",
"50114894164788415560664358126836875881",
"236653460035702537018464802408357402721",
"119137408030478997891546985894575031765",
"276355777254671461515357086578374023535",
"223130721480964790784181393700928178694",
"318091617925766352199419750959837337378",
"267637130843289763686428534397410691618",
"293217723645099742500525076716833316650",
"137554165864511298212221909217631535025",
"3919371193829264804791298229251240468"
]
},
"source": "https://github.com/capstone-engine/capstone/commit/87a25bb543c8e4c09b48d4b4a6c7db31ce58df06",
"target": {
"file": "arch/X86/X86Mapping.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2016-7151-8507e2d0",
"digest": {
"length": 813,
"function_hash": "236004703997945582504869253197323457457"
},
"source": "https://github.com/capstone-engine/capstone/commit/87a25bb543c8e4c09b48d4b4a6c7db31ce58df06",
"target": {
"file": "arch/X86/X86Mapping.c",
"function": "X86_insn_reg_intel"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:23:29Z"
}
}
],
"modified": "2026-10-20T13:23:29.390019648Z",
"provider": "osv",
"references": [
"https://github.com/aquynh/capstone/commit/87a25bb543c8e4c09b48d4b4a6c7db31ce58df06",
"https://github.com/aquynh/capstone/pull/725"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-7151",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387611,
"published_at": "2019-05-15T14:29:00.53+00:00"
}