Source: capstone
Version: 5.0.9-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for capstone.

CVE-2026-49282[0]:
| Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9,
| Capstone's public `cs_insn_name()` API forwards caller-supplied
| instruction IDs directly to the selected architecture backend. Most
| backends validate the ID before indexing instruction-name tables,
| but the M68K and RISCV backends have missing or incomplete bounds
| checks. On a Capstone handle opened for M68K or RISCV, a caller-
| controlled invalid instruction ID can trigger an out-of-bounds read
| and crash the process. The demonstrated impact is availability loss
| in applications or bindings that expose instruction-name lookup to
| untrusted IDs. No code execution or data disclosure was
| demonstrated. Version 6.0.0-Alpha9 patches the issue.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-49282
    https://www.cve.org/CVERecord?id=CVE-2026-49282
[1] 
https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to