Bug 2523325 - CVE-2026-55893 capstone: Capstone: Heap buffer overflow with potential code execution [fedora-all]
Summary: CVE-2026-55893 capstone: Capstone: Heap buffer overflow with potential code e...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: capstone
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michal Ambroz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["03af0425-29a2-4ace-8e5a-e...
Depends On:
Blocks: CVE-2026-55893
TreeView+ depends on / blocked
 
Reported: 2026-08-25 09:46 UTC by gkamathe
Modified: 2026-08-25 09:46 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description gkamathe 2026-08-25 09:46:52 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.