Vulnerability · Published Jul 21, 2026 · Assigned by GitHub_M
CVE-2026-47143Capstone has a NULL Pointer Dereference with 3DNow! opcodes
Medium 5.1
In plain English
A medium-severity null pointer dereference in capstone from capstone-engine. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | capstone | 5.0.8-r0 | ALPINE-CVE-2026-47143 |
| Alpine:v3.24 | capstone | 5.0.8-r0 | ALPINE-CVE-2026-47143 |
| Debian:12 | capstone | no fix listed | DEBIAN-CVE-2026-47143 |
| Debian:13 | capstone | no fix listed | DEBIAN-CVE-2026-47143 |
| Debian:14 | capstone | 5.0.9-1 | DEBIAN-CVE-2026-47143 |
| PyPI | capstone | 5.0.8 | PYSEC-2026-3544 |
| Ubuntu:22.04:LTS | capstone | no fix listed | UBUNTU-CVE-2026-47143 |
| Ubuntu:24.04:LTS | capstone | no fix listed | UBUNTU-CVE-2026-47143 |
| Ubuntu:26.04:LTS | capstone | no fix listed | UBUNTU-CVE-2026-47143 |
| Ubuntu:26.10 | capstone | no fix listed | UBUNTU-CVE-2026-47143 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| capstone-engine | capstone | < 5.0.8< 6.0.0-Alpha8 |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/capstone-engine/capstone/security/advisories/GHSA-289w-cm54-fgrm x_refsource_CONFIRM
- https://github.com/capstone-engine/capstone/pull/2924 x_refsource_MISC
- https://github.com/capstone-engine/capstone/commit/a0201371719b5aaa91d318ab2898843718f92d1f x_refsource_MISC
- https://github.com/capstone-engine/capstone/commit/fab595205fee206f5c21be6ed8ad2eaf9225f1c7 x_refsource_MISC