Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55893— Capstone SH disassembler `set_reg_n` heap buffer overflow via crafted SH2A FPU bytecode

Quick assessment

Affected
capstone-engine capstone
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Capstone 是一个反汇编框架。在 6.0.0-Alpha9 及更早版本中,Capstone 的 arch/SH/SHDisassembler.c 文件中的 SH 浮点解码器(如 opFADD、opFMUL 和 opFSUB)在调用 set_reg() 和 set_reg_n() 时,使用了 sh_info.op.op_count 作为索引,但未对固定大小的 operands[] 数组进行边界检查。 通过 cs_disasm_iter() 或 cs_disasm() 函数,反复处理针对 CS_ARCH_SH 架

CVSS 7.3 · High EPSS 0.14% · P4

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 1

VendorProduct Version RangeStatus
capstone-engine capstone < 6.0.0-Alpha10 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55893

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Capstone SH disassembler `set_reg_n` heap buffer overflow via crafted SH2A FPU bytecode
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
capstone-engine capstone < 6.0.0-Alpha10 -

II. Public POCs for CVE-2026-55893

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8661 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-55893

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55893 (4)

Vendor Advisories for CVE-2026-55893 (1)

Vendor Pages for CVE-2026-55893 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55893

No comments yet


Leave a comment