Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | capstone | 4.0.2-2 | — |
| Debian 13 | capstone | 4.0.2-2 | — |
| Debian 12 | capstone | 4.0.2-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | capstone | No fix yet | — |
| Ubuntu 26.04 LTS | capstone | No fix yet | — |
| Ubuntu 25.10 | capstone | No fix yet | — |
| Ubuntu 24.04 LTS | capstone | No fix yet | — |
| Ubuntu 22.04 LTS | capstone | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | capstone | No fix yet | — |
| Ubuntu 18.04 LTS | capstone | No fix yet | — |
| Ubuntu 16.04 LTS | capstone | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | capstone | < 4.0.0 | 4.0.0 | GHSA-xx4j-rvcc-2vhr |