{"id":"GHSA-xx4j-rvcc-2vhr","summary":"Capstone SEGV caused by a read memory access","details":"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.","aliases":["CVE-2016-7151"],"modified":"2026-06-10T18:43:14Z","published":"2022-05-24T16:45:42Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-11-21T22:19:31Z","nvd_published_at":"2019-05-15T14:29:00Z","cwe_ids":["CWE-125"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7151"},{"type":"WEB","url":"https://github.com/aquynh/capstone/pull/725"},{"type":"WEB","url":"https://github.com/aquynh/capstone/commit/87a25bb543c8e4c09b48d4b4a6c7db31ce58df06"},{"type":"PACKAGE","url":"https://github.com/capstone-engine/capstone"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/capstone/PYSEC-2019-242.yaml"}],"affected":[{"package":{"name":"capstone","ecosystem":"PyPI","purl":"pkg:pypi/capstone"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}],"versions":["2.0","2.1","3.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.5.post1","3.0.5rc2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xx4j-rvcc-2vhr/GHSA-xx4j-rvcc-2vhr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}