Bug 2520815 (CVE-2026-55893) - CVE-2026-55893 capstone: Capstone: Heap buffer overflow with potential code execution
Summary: CVE-2026-55893 capstone: Capstone: Heap buffer overflow with potential code e...
Keywords:
Status: NEW
Alias: CVE-2026-55893
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: 2523324 2523325 2523326 2523327 2523328 2523329
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-20 21:51 UTC by OSIDB Bzimport
Modified: 2026-08-25 09:47 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-20 21:51:26 UTC
Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c SH floating-point decoders such as opFADD, opFMUL, and opFSUB call set_reg() and set_reg_n() using sh_info.op.op_count without checking the fixed-size operands[] array. Repeated crafted instructions processed through cs_disasm_iter() or cs_disasm() with CS_ARCH_SH, CS_MODE_SH2A or CS_MODE_SH4A, CS_MODE_SHFPU, and CS_OPT_DETAIL can increment the operand count beyond the 176-byte sh_info allocation and perform a four-byte heap buffer overflow write. The corruption can crash the process and may enable code execution depending on heap layout. 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.