UBUNTU-CVE-2026-55894

Source
https://ubuntu.com/security/CVE-2026-55894
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-55894
Upstream
Published
2026-08-20T22:17:00Z
Modified
2026-09-02T19:35:54.357218141Z
Severity
  • 6.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c shdisassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CSARCHSH with CSMODESH2A or CSMODESH4A and CSMODESHFPU can pass crafted bytecode through csdisasmiter() or csdisasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

References

Affected packages

Ubuntu:16.04:LTS
capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.0.4-0.1
3.0.4-0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.0.4-0.2",
            "binary_name": "libcapstone3"
        },
        {
            "binary_version": "3.0.4-0.2",
            "binary_name": "python-capstone"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json"
Ubuntu:18.04:LTS
capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.0.4-3
3.0.4-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.0.4-5",
            "binary_name": "libcapstone3"
        },
        {
            "binary_version": "3.0.4-5",
            "binary_name": "python-capstone"
        },
        {
            "binary_version": "3.0.4-5",
            "binary_name": "python3-capstone"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json"
Ubuntu:20.04:LTS
capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.1+really+3.0.5-1
4.0.1+really+3.0.5-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.0.1+really+3.0.5-1build1",
            "binary_name": "capstone-tool"
        },
        {
            "binary_version": "4.0.1+really+3.0.5-1build1",
            "binary_name": "libcapstone3"
        },
        {
            "binary_version": "4.0.1+really+3.0.5-1build1",
            "binary_name": "python-capstone"
        },
        {
            "binary_version": "4.0.1+really+3.0.5-1build1",
            "binary_name": "python3-capstone"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json"
Ubuntu:22.04:LTS
capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.2-3
4.0.2-3build1
4.0.2-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.0.2-5",
            "binary_name": "capstone-tool"
        },
        {
            "binary_version": "4.0.2-5",
            "binary_name": "libcapstone4"
        },
        {
            "binary_version": "4.0.2-5",
            "binary_name": "python3-capstone"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json"
Ubuntu:24.04:LTS
capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.2-5
4.0.2-5ubuntu1
4.0.2-5.1
4.0.2-5.1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.0.2-5.1build1",
            "binary_name": "capstone-tool"
        },
        {
            "binary_version": "4.0.2-5.1build1",
            "binary_name": "libcapstone4"
        },
        {
            "binary_version": "4.0.2-5.1build1",
            "binary_name": "python3-capstone"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json"
Ubuntu:26.04:LTS
capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.6-1
5.0.6-1build1
5.0.7-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.0.7-2",
            "binary_name": "capstone-tool"
        },
        {
            "binary_version": "5.0.7-2",
            "binary_name": "libcapstone5"
        },
        {
            "binary_version": "5.0.7-2",
            "binary_name": "python3-capstone"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55894.json"