cve.bz

CVE-2025-67873 capstone-engine capstone: Heap-based Buffer Overflow

7.8 highExploit referenceEPSS 0.2%Fix available

High (7.8) in capstone-engine capstone. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-67873 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-67873?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-67873?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-67873 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
capstone-engine:capstonebefore 6.0.0
capstone-engine:capstone6.0.0:alpha1
capstone-engine:capstone6.0.0:alpha2
capstone-engine:capstone6.0.0:alpha3
capstone-engine:capstone6.0.0:alpha4
capstone-engine:capstone6.0.0:alpha5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12capstoneno fix listedDEBIAN-CVE-2025-67873
Debian13capstone5.0.7-1~deb13u1DEBIAN-CVE-2025-67873
Debian14capstone5.0.7-1DEBIAN-CVE-2025-67873
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morecapstoneno fix listedUBUNTU-CVE-2025-67873
Red Hatenterprise_linux:9::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-11.el9_7RHSA-2026:4898
Red Hatenterprise_linux:9::crbcapstone-java, capstone-devel, python3-capstone and 3 more0:4.0.2-11.el9_7RHSA-2026:4898
Red Hatenterprise_linux:10.1capstone, capstone-java, capstone-devel and 3 more0:5.0.1-7.el10_1RHSA-2026:6817
Red Hatenterprise_linux_eus:10.0capstone, capstone-java, capstone-devel and 3 more0:5.0.1-7.el10_0RHSA-2026:5224
Red Hathummingbird:1capstone, capstone-java, capstone-devel and 2 more0:5.0.7-0.1.hum1RHSA-2026:12781
Red Hatrhel_e4s:9.0::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-5.el9_0RHSA-2026:13923
Red Hatrhel_e4s:9.2::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-11.el9_2RHSA-2026:5123
Red Hatrhel_eus:9.4::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-11.el9_4RHSA-2026:5125
Red Hatrhel_eus:9.4::crbcapstone-java, capstone-devel, python3-capstone and 3 more0:4.0.2-11.el9_4RHSA-2026:5125
Red Hatrhel_eus:9.6::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-11.el9_6RHSA-2026:5124
Red Hatrhel_eus:9.6::crbcapstone-java, capstone-devel, python3-capstone and 3 more0:4.0.2-11.el9_6RHSA-2026:5124
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Server Applications 15 SP7capstone4.0.2-150500.3.3.1SUSE-SU-2026:0060-1
SUSELinux Micro 6.0capstone4.0.2-6.1SUSE-SU-2026:20868-1
SUSELinux Micro 6.1capstone4.0.2-slfo.1.1_2.1SUSE-SU-2026:20054-1
openSUSELeap 15.6capstone4.0.2-150500.3.3.1SUSE-SU-2026:0060-1
AlmaLinux9capstone, capstone-java, capstone-devel and 1 more4.0.2-11.el9_7ALSA-2026:4898
AlmaLinux10capstone-java, python3-capstone5.0.1-7.el10_1ALSA-2026:6817
Rocky Linux9capstone0:4.0.2-11.el9_7RLSA-2026:4898
Rocky Linux10capstone0:5.0.1-7.el10_1RLSA-2026:6817
Alpinev3.23, v3.24capstone5.0.7-r0ALPINE-CVE-2025-67873
Azure Linux2capstoneno fix listedAZL-72818
Azure Linux3capstoneno fix listedAZL-72700
Azure Linux3rust1.90.0-4AZL-74915
Alpaquita25, streamcapstone5.0.7-r0BELL-CVE-2025-67873

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate because a heap buffer overflow in the Capstone disassembly framework can be exploited by a local attacker providing a specially crafted skipdata callback, potentially leading to denial of service or arbitrary code execution. Exploitation requires local access and user interaction.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10capstone-0:5.0.1-7.el10_1Fixed 2026-04-07RHSA-2026:6817
Red Hat Enterprise Linux 10.0 Extended Update Supportcapstone-0:5.0.1-7.el10_0Fixed 2026-03-23RHSA-2026:5224
Red Hat Enterprise Linux 9capstone-0:4.0.2-11.el9_7Fixed 2026-03-18RHSA-2026:4898
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionscapstone-0:4.0.2-5.el9_0Fixed 2026-05-06RHSA-2026:13923
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionscapstone-0:4.0.2-11.el9_2Fixed 2026-03-19RHSA-2026:5123
Red Hat Enterprise Linux 9.4 Extended Update Supportcapstone-0:4.0.2-11.el9_4Fixed 2026-03-19RHSA-2026:5125
Red Hat Enterprise Linux 9.6 Extended Update Supportcapstone-0:4.0.2-11.el9_6Fixed 2026-03-19RHSA-2026:5124
Red Hat Hardened Imagescapstone-main-5.0.7-0.1.hum1Fixed 2026-05-01RHSA-2026:12781
Red Hat Enterprise Linux 10rubyNot affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 8ruby:3.3/rubyNot affected
Red Hat Enterprise Linux 9ruby:3.3/rubyNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-67873.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON