Heap buffer overflow in SH floating-point decoders in Capstone
capstone-engine capstone
At a glance
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 description · CVE List / CNA
System impact
CVSS summary v4.0
- Published:
- Updated:
- EPSS:
- 0.186%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:capstone-engine | capstone | Affected versions: < 6.0.0-Alpha10 |
| Vendor:Red Hat | Red Hat Enterprise Linux 10 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 9 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Hardened Images | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat OpenShift Container Platform 4 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat OpenShift Container Platform 5 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Micro 5.5 | Affected versions:Source does not specify a version range |
| Vendor:SUSE | SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected versions:Source does not specify a version range |
1–10 of 27 · Page 1 of 3
CVSS scores and metrics4
GitHub_M · CVE List / CNA (cna)Primary7.3 / 10HighCVSS 4.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Passive
- Attack requirements
- Present
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
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[email protected] · NVD (Secondary)7.3 / 10HighCVSS 4.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Passive
- Attack requirements
- Present
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVE-2026-55893 · OSV (source-vector)7.3 / 10HighCVSS 4.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Passive
- Attack requirements
- Present
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NRed Hat · Red Hat VEX (adp)7.0 / 10HighCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences