Medium
capstone — 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
- capstone
- Affected versions
- 3.0.4-0.1, 3.0.4-0.2, 3.0.4-3, 3.0.4-5, 4.0.1+really+3.0.5-1, 4.0.1+really+3.0.5-1build1, 4.0.2-3, 4.0.2-3build1, 4.0.2-5, 4.0.2-5.1, 4.0.2-5.1build1, 4.0.2-5ubuntu1, 5.0.5-1, 5.0.6-1, 5.0.6-1build1, 5.0.7-2, 5.0.9-1
- Fixed versions
- Not specified
- CVEs
- CVE-2016-7151
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:20 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:UBUNTU-CVE-2016-7151
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
capstone
Fixed versions: Not specified
Complete source record
{
"id": "30aa63919c924f60c6f9034bd9f9f62b85443ac9f06fdec6f022d0050b6105d6",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2016-7151",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-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:UBUNTU-CVE-2016-7151",
"products": [
{
"name": {
"value": "capstone",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.4-0.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-0.2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.4-3",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.4-5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.1+really+3.0.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "4.0.1+really+3.0.5-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.2-3",
"evidence": "/affected/3/versions"
},
{
"value": "4.0.2-3build1",
"evidence": "/affected/3/versions"
},
{
"value": "4.0.2-5",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.2-5",
"evidence": "/affected/4/versions"
},
{
"value": "4.0.2-5ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "4.0.2-5.1",
"evidence": "/affected/4/versions"
},
{
"value": "4.0.2-5.1build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0.5-1",
"evidence": "/affected/5/versions"
},
{
"value": "5.0.6-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0.7-2",
"evidence": "/affected/6/versions"
},
{
"value": "5.0.9-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "capstone",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0.6-1",
"evidence": "/affected/7/versions"
},
{
"value": "5.0.6-1build1",
"evidence": "/affected/7/versions"
},
{
"value": "5.0.7-2",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2016-7151",
"aliases": [
"UBUNTU-CVE-2016-7151"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"3.0.4-0.1",
"3.0.4-0.2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcapstone3",
"binary_version": "3.0.4-0.2"
},
{
"binary_name": "python-capstone",
"binary_version": "3.0.4-0.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.0.4-3",
"3.0.4-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcapstone3",
"binary_version": "3.0.4-5"
},
{
"binary_name": "python-capstone",
"binary_version": "3.0.4-5"
},
{
"binary_name": "python3-capstone",
"binary_version": "3.0.4-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"4.0.1+really+3.0.5-1",
"4.0.1+really+3.0.5-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "capstone-tool",
"binary_version": "4.0.1+really+3.0.5-1build1"
},
{
"binary_name": "libcapstone3",
"binary_version": "4.0.1+really+3.0.5-1build1"
},
{
"binary_name": "python-capstone",
"binary_version": "4.0.1+really+3.0.5-1build1"
},
{
"binary_name": "python3-capstone",
"binary_version": "4.0.1+really+3.0.5-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"4.0.2-3",
"4.0.2-3build1",
"4.0.2-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "capstone-tool",
"binary_version": "4.0.2-5"
},
{
"binary_name": "libcapstone4",
"binary_version": "4.0.2-5"
},
{
"binary_name": "python3-capstone",
"binary_version": "4.0.2-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.0.2-5",
"4.0.2-5ubuntu1",
"4.0.2-5.1",
"4.0.2-5.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "capstone-tool",
"binary_version": "4.0.2-5.1build1"
},
{
"binary_name": "libcapstone4",
"binary_version": "4.0.2-5.1build1"
},
{
"binary_name": "python3-capstone",
"binary_version": "4.0.2-5.1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"5.0.5-1",
"5.0.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "capstone-tool",
"binary_version": "5.0.6-1"
},
{
"binary_name": "libcapstone5",
"binary_version": "5.0.6-1"
},
{
"binary_name": "python3-capstone",
"binary_version": "5.0.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.0.7-2",
"5.0.9-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "capstone-tool",
"binary_version": "5.0.9-1"
},
{
"binary_name": "libcapstone5",
"binary_version": "5.0.9-1"
},
{
"binary_name": "python3-capstone",
"binary_version": "5.0.9-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "capstone",
"purl": "pkg:deb/ubuntu/capstone?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"5.0.6-1",
"5.0.6-1build1",
"5.0.7-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-7151.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "capstone-tool",
"binary_version": "5.0.7-2"
},
{
"binary_name": "libcapstone5",
"binary_version": "5.0.7-2"
},
{
"binary_name": "python3-capstone",
"binary_version": "5.0.7-2"
}
]
}
}
],
"modified": "2026-10-17T12:52:44.060579703Z",
"provider": "osv",
"upstream": [
"CVE-2016-7151"
],
"references": [
"https://ubuntu.com/security/CVE-2016-7151",
"https://github.com/aquynh/capstone/commit/87a25bb543c8e4c09b48d4b4a6c7db31ce58df06",
"https://github.com/aquynh/capstone/pull/725",
"https://www.cve.org/CVERecord?id=CVE-2016-7151"
]
},
"related_cves": [
{
"value": "CVE-2016-7151",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353279,
"published_at": "2019-05-15T14:29:00+00:00"
}