cve.bz

CVE-2025-68114 capstone-engine capstone: Classic Buffer Overflow

9.8 criticalEPSS 0.2%Fix available

Critical (9.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, an unchecked vsnprintf return in SStream_concat lets a malicious cs_opt_mem.vsnprintf drive SStream’s index negative or past the end, leading to a stack buffer underflow/overflow when the next write occurs. Commit 2c7797182a1618be12017d7d41e0b6581d5d529e fixes the issue.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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; 12th 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.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-124 Buffer Underwrite (Buffer Underrun)
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-68114 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68114?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68114?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-68114 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-68114
Debian13capstone5.0.7-1~deb13u1DEBIAN-CVE-2025-68114
Debian14capstone5.0.7-1DEBIAN-CVE-2025-68114
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morecapstoneno fix listedUBUNTU-CVE-2025-68114
Red Hatenterprise_linux:9::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-11.el9_7RHSA-2026:4898
Red Hatenterprise_linux:9::appstreamcapstone, capstone-debuginfo, capstone-debugsource and 1 more0:4.0.2-13.el9_8RHSA-2026:39309
Red Hatenterprise_linux:9::crbcapstone-java, capstone-devel, python3-capstone and 3 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-13.el9_8RHSA-2026:39309
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
1 more for Red Hat in the JSON and on Red Hat's page.
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
AlmaLinux9capstone, capstone-java, capstone-devel and 1 more4.0.2-13.el9_8ALSA-2026:39309
AlmaLinux10capstone-java, python3-capstone5.0.1-7.el10_1ALSA-2026:6817
Rocky Linux9capstone0:4.0.2-11.el9_7RLSA-2026:4898
Rocky Linux9capstone0:4.0.2-13.el9_8RLSA-2026:39309
Rocky Linux10capstone0:5.0.1-7.el10_1RLSA-2026:6817
Alpinev3.23, v3.24capstone5.0.7-r0ALPINE-CVE-2025-68114
Azure Linux2capstoneno fix listedAZL-72821
Azure Linux3capstoneno fix listedAZL-72697
Azure Linux3rust1.90.0-4AZL-74805
Alpaquita25, streamcapstone5.0.7-r0BELL-CVE-2025-68114

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 as an unchecked `vsnprintf` return in Capstone's `SStream_concat` function can lead to stack buffer underflow or overflow. Exploitation requires local access and user interaction. This affects Capstone and other components in Red Hat Enterprise Linux, OpenShift Container Platform, and Community Projects.

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-13.el9_8Fixed 2026-07-14RHSA-2026:39309
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-68114.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON