{"id":"CVE-2026-49282","summary":"Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes","details":"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.","aliases":["GHSA-jrw4-wj52-2vw8"],"modified":"2026-08-18T03:31:21.441899099Z","published":"2026-08-14T17:44:44.818Z","database_specific":{"cwe_ids":["CWE-125","CWE-129","CWE-191"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49282.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49282.json"},{"type":"ADVISORY","url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49282"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/capstone-engine/capstone","events":[{"introduced":"0"},{"fixed":"973b9096dd82c4efb4d7ba3d95a0e2b73243d3ba"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"6.0.0-Alpha9"}],"source":"AFFECTED_FIELD"}}],"versions":["6.0.0-Alpha8","6.0.0-Alpha7","6.0.0-Alpha6","6.0.0-Alpha5","6.0.0-Alpha4","6.0.0-Alpha3","4.0-alpha2","4.0-alpha1","3.0-rc3","3.0-rc2","3.0-rc1","2.1","2.0","2.0-rc1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49282.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"}]}