漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Capstone SH disassembler `set_reg_n` heap buffer overflow via crafted SH2A FPU bytecode
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.
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
Vulnerability Type
堆缓冲区溢出
Vulnerability Title
Capstone Engine 缓冲区错误漏洞
Vulnerability Description
capstone-engine Capstone Engine是capstone-engine团队开源的一套反汇编引擎框架。 Capstone Engine 6.0.0-Alpha10之前版本存在缓冲区错误漏洞,该漏洞源于SH浮点解码器调用set_reg()和set_reg_n()时未检查固定大小的operands[]数组,导致堆缓冲区溢出,可能造成进程崩溃或代码执行。
CVSS Information
N/A
Vulnerability Type
N/A