Bug 2520820 (CVE-2026-55894) - CVE-2026-55894 capstone: Capstone: Denial of Service via crafted SH2A bytecode
Summary: CVE-2026-55894 capstone: Capstone: Denial of Service via crafted SH2A bytecode
Keywords:
Status: NEW
Alias: CVE-2026-55894
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2523316 2523317 2523318 2523319 2523320 2523321
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-20 21:52 UTC by OSIDB Bzimport
Modified: 2026-08-27 18:54 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-20 21:52:07 UTC
Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.


Note You need to log in before you can comment on or make changes to this bug.