5.1medium
Capstone has a NULL Pointer Dereference with 3DNow! opcodes
- Severity
- 5.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.40% (higher than 36% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- PYSEC-2026-3544GHSA-289w-cm54-fgrm
Description
Capstone is a disassembly framework. Versions prior to 6.0.0-Alpha8 and 5.0.8 have a NULL pointer dereference in `modRMRequired()` and `decode()` when disassembling 3DNow! opcodes (`0F 0F`) in builds compiled with `-DCAPSTONE_X86_REDUCE`, allowing a remote attacker to crash any application using the reduced X86 Capstone library by supplying a crafted input containing the 4-byte sequence `0F 0F <modrm> <imm8>`. Versions 6.0.0-Alpha8 and 5.0.8 patch the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| capstone-engine capstone | < 5.0.8, < 6.0.0-Alpha8, before 5.0.8, 6.0.0 | CVE List, NVD |
| capstone (PyPI) | before 5.0.8 | PyPA Advisory Database |
All scores
| GitHub_M | 5.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Capstone is a disassembly framework. Versions prior to 6.0.0-Alpha8 and 5.0.8 have a NULL pointer dereference in `modRMRequired()` and `decode()` when disassembling 3DNow! opcodes (`0F 0F`) in builds compiled with `-DCAPSTONE_X86_REDUCE`, allowing a remote attacker to crash any application using the reduced X86 Capstone library by supplying a crafted input containing the 4-byte sequence `0F 0F <modrm> <imm8>`. Versions 6.0.0-Alpha8 and 5.0.8 patch the issue.
NVD (es)
Capstone es un framework de desensamblaje. Las versiones anteriores a 6.0.0-Alpha8 y 5.0.8 tienen una desreferencia de puntero NULL en ’modRMRequired()’ y ’decode()’ al desensamblar opcodes 3DNow! (’0F 0F’) en compilaciones compiladas con ’-DCAPSTONE_X86_REDUCE’, permitiendo a un atacante remoto bloquear cualquier aplicación que utilice la biblioteca X86 Capstone reducida al proporcionar una entrada manipulada que contenga la secuencia de 4 bytes ’0F 0F [modrm] [imm8]’. Las versiones 6.0.0-Alpha8 y 5.0.8 parchean el problema.
References
| https://github.com/capstone-engine/capstone/security/advisories/GHSA-289w-cm54-fgrm | evidence, exploit, vendor-advisory | |
| https://github.com/capstone-engine/capstone/pull/2924 | fix, issue-tracking, patch | |
| https://github.com/capstone-engine/capstone/commit/a0201371719b5aaa91d318ab2898843718f92d1f | fix, patch | |
| https://github.com/capstone-engine/capstone/commit/fab595205fee206f5c21be6ed8ad2eaf9225f1c7 | fix, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47143 changed 2026-07-22 | CVE Terms of Use |
| NVD | CVE-2026-47143 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3544 changed 2026-07-31 | CC-BY-4.0 |