Skip to content
Fencer Vulns
medium 4.8

CVE-2025-67873 json

Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow

published 2025-12-17 10 mo ago modified 2026-10-13 26 d ago also EUVD-2025-203996

cvss
4.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 14%
public exploits
0
none known

Summary

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 cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.

Patch / fix

  • capstone Debian 13 5.0.7-1~deb13u1
  • capstone Debian 14 5.0.7-1

debian advisories DEBIAN-CVE-2025-67873

  • capstone hummingbird 1 5.0.7-0.1.hum1
  • capstone-java hummingbird 1 5.0.7-0.1.hum1
  • python3-capstone hummingbird 1 5.0.7-0.1.hum1
  • capstone RHEL 10.1 5.0.1-7.el10_1
  • capstone-java RHEL 10.1 5.0.1-7.el10_1
  • python3-capstone RHEL 10.1 5.0.1-7.el10_1
  • capstone RHEL 9 4.0.2-11.el9_7
  • capstone-java RHEL 9 4.0.2-11.el9_7

red hat advisories RHSA-2026:13923RHSA-2026:12781RHSA-2026:6817RHSA-2026:5224RHSA-2026:5125RHSA-2026:5123

  • capstone Linux Micro 6.0 4.0.2-6.1
  • capstone SLE Module for Server Applications 15 SP7, SLE Micro 5.5, openSUSE Leap 15.6 4.0.2-150500.3.3.1
  • capstone Linux Micro 6.1 4.0.2-slfo.1.1_2.1

suse advisories SUSE-SU-2026:20868-1SUSE-SU-2026:0060-1SUSE-SU-2026:20054-1

  • capstone-java AlmaLinux 10 5.0.1-7.el10_1
  • python3-capstone AlmaLinux 10 5.0.1-7.el10_1
  • capstone AlmaLinux 9 4.0.2-11.el9_7
  • capstone-java AlmaLinux 9 4.0.2-11.el9_7
  • python3-capstone AlmaLinux 9 4.0.2-11.el9_7

almalinux advisories ALSA-2026:6817ALSA-2026:4898

  • capstone Rocky Linux 10 5.0.1-7.el10_1
  • capstone Rocky Linux 9 4.0.2-11.el9_7

rocky linux advisories RLSA-2026:6817RLSA-2026:4898

  • capstone Alpine 3.24, Alpine 3.23 5.0.7-r0

alpine advisories ALPINE-CVE-2025-67873

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rust Azure Linux 3.0 1.90.0-4

azure linux advisories AZL-74915

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-67873 updated cvss 6.1

capstone: Capstone: Heap buffer overflow via skipdata callback allows denial of service or arbitrary code execution.

  • Red Hat CodeReady Linux Builder EUS (v.9.4) capstone-java 4.0.2-11.el9_4, python3-capstone 4.0.2-11.el9_4
    fixed: vendor fix RHSA-2026:5125
  • Red Hat CodeReady Linux Builder EUS (v.9.6) capstone-java 4.0.2-11.el9_6, python3-capstone 4.0.2-11.el9_6
    fixed: vendor fix RHSA-2026:5124
  • Red Hat Enterprise Linux AppStream (v. 9) capstone 4.0.2-11.el9_7
    fixed: vendor fix RHSA-2026:4898
  • Red Hat Enterprise Linux AppStream (v. 10) capstone 5.0.1-7.el10_1
    fixed: vendor fix RHSA-2026:6817
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) capstone 4.0.2-5.el9_0
    fixed: vendor fix RHSA-2026:13923
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) capstone 4.0.2-11.el9_2
    fixed: vendor fix RHSA-2026:5123
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) capstone 5.0.1-7.el10_0
    fixed: vendor fix RHSA-2026:5224
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) capstone 4.0.2-11.el9_4
    fixed: vendor fix RHSA-2026:5125
show 9 more
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) capstone 4.0.2-11.el9_6
    fixed: vendor fix RHSA-2026:5124
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) capstone-java 4.0.2-11.el9_7, python3-capstone 4.0.2-11.el9_7
    fixed: vendor fix RHSA-2026:4898
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) capstone-java 5.0.1-7.el10_1, python3-capstone 5.0.1-7.el10_1
    fixed: vendor fix RHSA-2026:6817
  • Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) capstone-java 5.0.1-7.el10_0, python3-capstone 5.0.1-7.el10_0
    fixed: vendor fix RHSA-2026:5224
  • Red Hat Hardened Images capstone 5.0.7-0.1.hum1, capstone-java 5.0.7-0.1.hum1, python3-capstone 5.0.7-0.1.hum1
    fixed: vendor fix RHSA-2026:12781
  • Red Hat Enterprise Linux 8 ruby, ruby-irb, rubygems, ruby-libs, rubygem-pg, rubygem-irb, +25 more
    not affected: vulnerable code not in execute path
  • Red Hat Enterprise Linux 9 ruby, rust, cargo, clippy, rustfmt, rubygems, +27 more
    not affected: vulnerable code not present
  • Red Hat Enterprise Linux 10 ruby, rust
    not affected: vulnerable code not in execute path
  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
10 mo ago

Exploit prediction

0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • capstone-engine capstone

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.