CVE-2016-7151 · mitre
CVE-2016-7151
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.
Published 2019-05-15, last changed 2026-06-17. Weakness: CWE-125.
How to fix
Upgrade to a fixed version: capstone 4.0.0 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in capstone-engine/capstone by 87a25bb543. Functions changed by the fix: X86_insn_reg_intel. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2019-05-15 | Published |
| 2019-05-15 | Package advisory PYSEC-2019-242 |
| 2022-05-24 | Package advisory GHSA-xx4j-rvcc-2vhr |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.07% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-xx4j-rvcc-2vhr | capstone (PyPI) | 4.0.0 |
| PYSEC-2019-242 (withdrawn) | capstone (PyPI) | no fix yet |
Also known as: GHSA-xx4j-rvcc-2vhr, PYSEC-2019-242
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-47143 | 2026-07-21 | 5.9 | Capstone has a NULL Pointer Dereference with 3DNow! opcodes |
| CVE-2017-6952 | 2017-03-16 | 8.8 | same package: capstone (PyPI) |
| CVE-2026-117067 | 2026-11-02 | 5.3 | same weakness (CWE-125) from the same CNA (mitre) |
| CVE-2026-104598 | 2026-10-26 | 7.5 | same weakness (CWE-125) from the same CNA (mitre) |
| CVE-2026-104597 | 2026-10-26 | 7.5 | same weakness (CWE-125) from the same CNA (mitre) |
| CVE-2026-104594 | 2026-10-26 | 7.5 | same weakness (CWE-125) from the same CNA (mitre) |
| CVE-2026-104592 | 2026-10-26 | 6.5 | same weakness (CWE-125) from the same CNA (mitre) |
| CVE-2026-107080 | 2026-10-26 | 6.5 | same weakness (CWE-125) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-7151, or call /api/v1/vulnerabilities/CVE-2016-7151. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.