UBUNTU-CVE-2025-67873

Source
https://ubuntu.com/security/CVE-2025-67873
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-67873
Upstream
Published
2025-12-17T22:16:00Z
Modified
2026-01-20T19:18:04.248187Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make csdisasm/csdisasmiter memcpy more than 24 bytes into csinsn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.

References

Affected packages

Ubuntu:16.04:LTS

capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone@3.0.4-0.2?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_name": "libcapstone-dev",
            "binary_version": "3.0.4-0.2"
        },
        {
            "binary_name": "libcapstone3",
            "binary_version": "3.0.4-0.2"
        },
        {
            "binary_name": "python-capstone",
            "binary_version": "3.0.4-0.2"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json"

Ubuntu:18.04:LTS

capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone@3.0.4-5?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_name": "libcapstone-dev",
            "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",
            "binary_version": "3.0.4-5"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json"

Ubuntu:20.04:LTS

capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone@4.0.1+really+3.0.5-1build1?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_name": "capstone-tool",
            "binary_version": "4.0.1+really+3.0.5-1build1"
        },
        {
            "binary_name": "libcapstone-dev",
            "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",
            "binary_version": "4.0.1+really+3.0.5-1build1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json"

Ubuntu:22.04:LTS

capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone@4.0.2-5?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_name": "capstone-tool",
            "binary_version": "4.0.2-5"
        },
        {
            "binary_name": "libcapstone-dev",
            "binary_version": "4.0.2-5"
        },
        {
            "binary_name": "libcapstone4",
            "binary_version": "4.0.2-5"
        },
        {
            "binary_name": "python3-capstone",
            "binary_version": "4.0.2-5"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json"

Ubuntu:24.04:LTS

capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone@4.0.2-5.1build1?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_name": "capstone-tool",
            "binary_version": "4.0.2-5.1build1"
        },
        {
            "binary_name": "libcapstone-dev",
            "binary_version": "4.0.2-5.1build1"
        },
        {
            "binary_name": "libcapstone4",
            "binary_version": "4.0.2-5.1build1"
        },
        {
            "binary_name": "python3-capstone",
            "binary_version": "4.0.2-5.1build1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json"

Ubuntu:25.10

capstone

Package

Name
capstone
Purl
pkg:deb/ubuntu/capstone@5.0.6-1?arch=source&distro=questing

Affected ranges

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

Affected versions

5.*

5.0.5-1
5.0.6-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "capstone-tool",
            "binary_version": "5.0.6-1"
        },
        {
            "binary_name": "libcapstone-dev",
            "binary_version": "5.0.6-1"
        },
        {
            "binary_name": "libcapstone5",
            "binary_version": "5.0.6-1"
        },
        {
            "binary_name": "python3-capstone",
            "binary_version": "5.0.6-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-67873.json"