{"id":"CVE-2026-49282","state":"PUBLISHED","title":"Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes","description":"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.","publishedAt":"2026-08-14T17:44:44.818Z","updatedAt":"2026-08-17T18:11:13.518Z","severity":{"score":5.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["capstone-engine capstone"],"affected":[{"vendor":"capstone-engine","product":"capstone","versions":[{"version":"< 6.0.0-Alpha9","status":"affected"}]}],"references":["https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8","https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102"],"weaknesses":["CWE-125","CWE-129","CWE-191"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49282.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49282","state":"PUBLISHED","datePublished":"2026-08-14T17:44:44.818Z","dateUpdated":"2026-08-17T18:11:13.518Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-28T20:07:58.861Z"},"containers":{"cna":{"title":"Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"capstone-engine","product":"capstone","versions":[{"version":"< 6.0.0-Alpha9","status":"affected"}]}],"references":[{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8","name":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102","name":"https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":5.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-191","lang":"en","description":"CWE-191: Integer Underflow (Wrap or Wraparound)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-14T17:44:44.818Z"},"source":{"advisory":"GHSA-jrw4-wj52-2vw8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-17T18:10:11.366665Z","id":"CVE-2026-49282","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-17T18:11:13.518Z"}}]}}}