CVE-2025-68114 json
Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
published 2025-12-17 10 mo ago modified 2026-10-13 27 d ago also EUVD-2025-203995
- 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 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- capstone Debian 13 5.0.7-1~deb13u1
- capstone Debian 14 5.0.7-1
debian advisories DEBIAN-CVE-2025-68114
- capstone RHEL 9 4.0.2-13.el9_8
- capstone-java RHEL 9 4.0.2-13.el9_8
- python3-capstone RHEL 9 4.0.2-13.el9_8
- 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
red hat advisories RHSA-2026:39309RHSA-2026:13923RHSA-2026:12781RHSA-2026:6817RHSA-2026:5224RHSA-2026:5125
- 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 AlmaLinux 9 4.0.2-13.el9_8
- capstone-java AlmaLinux 9 4.0.2-13.el9_8
- python3-capstone AlmaLinux 9 4.0.2-13.el9_8
- 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:39309ALSA-2026:6817ALSA-2026:4898
- capstone Rocky Linux 9 4.0.2-13.el9_8
- 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:39309RLSA-2026:6817RLSA-2026:4898
- capstone Alpine 3.24, Alpine 3.23 5.0.7-r0
alpine advisories ALPINE-CVE-2025-68114
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-68114 updated cvss 7.3
capstone: Capstone: Memory corruption via unchecked vsnprintf return
-
Red Hat CodeReady Linux Builder EUS (v.9.4) capstone-java 4.0.2-11.el9_4, python3-capstone 4.0.2-11.el9_4fixed: 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_6fixed: vendor fix RHSA-2026:5124
-
Red Hat Enterprise Linux AppStream (v. 9) capstone 4.0.2-11.el9_7, capstone 4.0.2-13.el9_8fixed: vendor fix RHSA-2026:4898
-
Red Hat Enterprise Linux AppStream (v. 10) capstone 5.0.1-7.el10_1fixed: vendor fix RHSA-2026:6817
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) capstone 4.0.2-5.el9_0fixed: vendor fix RHSA-2026:13923
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) capstone 4.0.2-11.el9_2fixed: vendor fix RHSA-2026:5123
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) capstone 5.0.1-7.el10_0fixed: vendor fix RHSA-2026:5224
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) capstone 4.0.2-11.el9_4fixed: vendor fix RHSA-2026:5125
show 6 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) capstone 4.0.2-11.el9_6fixed: vendor fix RHSA-2026:5124
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) capstone-java 4.0.2-11.el9_7, capstone-java 4.0.2-13.el9_8, python3-capstone 4.0.2-11.el9_7, python3-capstone 4.0.2-13.el9_8fixed: 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_1fixed: 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_0fixed: 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.hum1fixed: vendor fix RHSA-2026:12781
-
Red Hat Enterprise Linux 8 ruby, ruby-irb, rubygems, ruby-libs, rubygem-pg, rubygem-irb, +25 more Red Hat Enterprise Linux 9 ruby, rust, cargo, clippy, rustfmt, rubygems, +27 more Red Hat Enterprise Linux 10 ruby, rust Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9not 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.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r 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 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- capstone-engine capstone
Classification
References
Sources
- CVE List CVE-2025-68114
- NVD CVE-2025-68114
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.