CVE catalog

CVE-2026-55893

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

[CVE catalog]

Severity
High · CVSS 7.3CVSS: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:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancapstonesid5.0.9-1vulnerable
Debiancapstoneforky5.0.9-1vulnerable
Debiancapstonetrixie5.0.7-1~deb13u1vulnerable
Debiancapstonebookworm4.0.2-5vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancapstonesourcesid(unfixed)not yet assignedNot reported[1145195]
Debiancapstonesourceforky(unfixed)not yet assignedNot reported[1145195]
Debiancapstonesourcetrixie(unfixed)not yet assignedNot reported[1145195]
Debiancapstonesourcebookworm(unfixed)not yet assignedNot reported[1145195]

[Debian bug #1145195]

Notes

[trixie] capstone: Minor issue [bookworm] capstone: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [capstone-tool]Affected

    Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

    • 4.0.2-5 · arm64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

  • [libcapstone4]Affected

    Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

    • 4.0.2-5 · arm64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

  • [libcapstone-dev]Affected

    Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

    • 4.0.2-5 · arm64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

  • Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

    • 4.0.2-5 · arm64 · bookworm

      Affected

      nvd · capstone · debian · bookworm; nvd · capstone · debian · 12

[Debian 13 (Trixie)]

  • [capstone-tool]Affected

    Source package: [capstone]

    Details (2)
    • 5.0.7-1~deb13u1 · amd64 · trixie

      Affected

      nvd · capstone · debian · 13

    • 5.0.7-1~deb13u1 · arm64 · trixie

      Affected

      nvd · capstone · debian · 13

  • [libcapstone5]Affected

    Source package: [capstone]

    Details (2)
    • 5.0.7-1~deb13u1 · amd64 · trixie

      Affected

      nvd · capstone · debian · 13

    • 5.0.7-1~deb13u1 · arm64 · trixie

      Affected

      nvd · capstone · debian · 13

  • [libcapstone-dev]Affected

    Source package: [capstone]

    Details (2)
    • 5.0.7-1~deb13u1 · amd64 · trixie

      Affected

      nvd · capstone · debian · 13

    • 5.0.7-1~deb13u1 · arm64 · trixie

      Affected

      nvd · capstone · debian · 13

  • Source package: [capstone]

    Details (2)
    • 5.0.7-1~deb13u1 · amd64 · trixie

      Affected

      nvd · capstone · debian · 13

    • 5.0.7-1~deb13u1 · arm64 · trixie

      Affected

      nvd · capstone · debian · 13

Observed:

References