GitHub Advisory Database
GHSA-xx4j-rvcc-2vhr
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | capstone | All versions before 4.0.0 (fixed in 4.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-7151
- https://github.com/aquynh/capstone/pull/725
- https://github.com/aquynh/capstone/commit/87a25bb543c8e4c09b48d4b4a6c7db31ce58df06
- https://github.com/capstone-engine/capstone
- https://github.com/pypa/advisory-database/tree/main/vulns/capstone/PYSEC-2019-242.yaml