CVEfocus › CVE database › CVE-2025-68114

CVE-2025-68114Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow…

CVSS 4.8 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2025-12-17Updated 2025-12-18Assigner: GitHub_M

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.

CWE-120CWE-124

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
5Fix pending
3Under investigation
1Will not fix
119Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10capstoneFix pendingUBUNTU-CVE-2025-68114
Ubuntu 26.04capstoneUnder investigationUBUNTU-CVE-2025-68114
Ubuntu 25.10capstoneWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-68114
Ubuntu 24.04capstoneUnder investigationUBUNTU-CVE-2025-68114
Ubuntu 22.04capstoneUnder investigationUBUNTU-CVE-2025-68114
Ubuntu 20.04capstoneFix pendingUBUNTU-CVE-2025-68114
Ubuntu 18.04capstoneFix pendingUBUNTU-CVE-2025-68114
Ubuntu 16.04capstoneFix pendingUBUNTU-CVE-2025-68114
Debian 14capstoneFixed5.0.7-1DEBIAN-CVE-2025-68114
Debian 13capstoneFixed5.0.7-1~deb13u1DEBIAN-CVE-2025-68114
Debian 12capstoneFix pendingDEBIAN-CVE-2025-68114
Red Hat Enterprise Linux 10capstoneFixed0:5.0.1-7.el10_1RHSA-2026:6817
Red Hat Enterprise Linux 10capstone-develFixed0:5.0.1-7.el10_1RHSA-2026:6817
Red Hat Enterprise Linux 10capstone-javaFixed0:5.0.1-7.el10_1RHSA-2026:6817
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10python3-capstoneFixed0:5.0.1-7.el10_1RHSA-2026:6817
Red Hat Enterprise Linux 10rubyNot affected
Red Hat Enterprise Linux 10ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 10ruby-default-gemsNot affected
Red Hat Enterprise Linux 10ruby-develNot affected
Red Hat Enterprise Linux 10ruby-docNot affected
Red Hat Enterprise Linux 10ruby-libsNot affected
Red Hat Enterprise Linux 10rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 10rubygem-bundlerNot affected
Red Hat Enterprise Linux 10rubygem-io-consoleNot affected
Red Hat Enterprise Linux 10rubygem-irbNot affected
Red Hat Enterprise Linux 10rubygem-jsonNot affected
Red Hat Enterprise Linux 10rubygem-minitestNot affected
Red Hat Enterprise Linux 10rubygem-power_assertNot affected
Red Hat Enterprise Linux 10rubygem-psychNot affected
Red Hat Enterprise Linux 10rubygem-raccNot affected
Red Hat Enterprise Linux 10rubygem-rakeNot affected
Red Hat Enterprise Linux 10rubygem-rbsNot affected
Red Hat Enterprise Linux 10rubygem-rdocNot affected
Red Hat Enterprise Linux 10rubygem-rexmlNot affected
Red Hat Enterprise Linux 10rubygem-rssNot affected
Red Hat Enterprise Linux 10rubygem-test-unitNot affected
Red Hat Enterprise Linux 10rubygem-typeprofNot affected
Red Hat Enterprise Linux 10rubygemsNot affected
Red Hat Enterprise Linux 10rubygems-develNot affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 9capstoneFixed0:4.0.2-11.el9_7RHSA-2026:39309
Red Hat Enterprise Linux 9capstone-develFixed0:4.0.2-13.el9_8RHSA-2026:4898
Red Hat Enterprise Linux 9capstone-javaFixed0:4.0.2-11.el9_7RHSA-2026:39309
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9python3-capstoneFixed0:4.0.2-11.el9_7RHSA-2026:39309
Red Hat Enterprise Linux 9rubyNot affected
Red Hat Enterprise Linux 9ruby-default-gemsNot affected
Red Hat Enterprise Linux 9ruby-develNot affected
Red Hat Enterprise Linux 9ruby-docNot affected
Red Hat Enterprise Linux 9ruby-libsNot affected
Red Hat Enterprise Linux 9rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 9rubygem-bundlerNot affected
Red Hat Enterprise Linux 9rubygem-io-consoleNot affected
Red Hat Enterprise Linux 9rubygem-irbNot affected
Red Hat Enterprise Linux 9rubygem-jsonNot affected
Red Hat Enterprise Linux 9rubygem-minitestNot affected
Red Hat Enterprise Linux 9rubygem-power_assertNot affected
Red Hat Enterprise Linux 9rubygem-psychNot affected
Red Hat Enterprise Linux 9rubygem-rakeNot affected
Red Hat Enterprise Linux 9rubygem-rbsNot affected
Red Hat Enterprise Linux 9rubygem-rdocNot affected
Red Hat Enterprise Linux 9rubygem-rexmlNot affected
Red Hat Enterprise Linux 9rubygem-rssNot affected
Red Hat Enterprise Linux 9rubygem-test-unitNot affected
Red Hat Enterprise Linux 9rubygem-typeprofNot affected
Red Hat Enterprise Linux 9rubygemsNot affected
Red Hat Enterprise Linux 9rubygems-develNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 8rubyNot affected
Red Hat Enterprise Linux 8ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 8ruby-default-gemsNot affected
Red Hat Enterprise Linux 8ruby-develNot affected
Red Hat Enterprise Linux 8ruby-docNot affected
Red Hat Enterprise Linux 8ruby-irbNot affected
Red Hat Enterprise Linux 8ruby-libsNot affected
Red Hat Enterprise Linux 8rubygem-abrtNot affected
Red Hat Enterprise Linux 8rubygem-abrt-docNot affected
Red Hat Enterprise Linux 8rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 8rubygem-bsonNot affected
Red Hat Enterprise Linux 8rubygem-bson-docNot affected
Red Hat Enterprise Linux 8rubygem-bundlerNot affected
Red Hat Enterprise Linux 8rubygem-bundler-docNot affected
Red Hat Enterprise Linux 8rubygem-did_you_meanNot affected
Red Hat Enterprise Linux 8rubygem-io-consoleNot affected
Red Hat Enterprise Linux 8rubygem-irbNot affected
Red Hat Enterprise Linux 8rubygem-jsonNot affected
Red Hat Enterprise Linux 8rubygem-minitestNot affected
Red Hat Enterprise Linux 8rubygem-mongoNot affected
Red Hat Enterprise Linux 8rubygem-mongo-docNot affected
Red Hat Enterprise Linux 8rubygem-mysql2Not affected
Red Hat Enterprise Linux 8rubygem-mysql2-docNot affected
Red Hat Enterprise Linux 8rubygem-net-telnetNot affected
Red Hat Enterprise Linux 8rubygem-opensslNot affected
Red Hat Enterprise Linux 8rubygem-pgNot affected
Red Hat Enterprise Linux 8rubygem-pg-docNot affected
Red Hat Enterprise Linux 8rubygem-power_assertNot affected
Red Hat Enterprise Linux 8rubygem-psychNot affected
Red Hat Enterprise Linux 8rubygem-raccNot affected
Red Hat Enterprise Linux 8rubygem-rakeNot affected
Red Hat Enterprise Linux 8rubygem-rbsNot affected
Red Hat Enterprise Linux 8rubygem-rdocNot affected
Red Hat Enterprise Linux 8rubygem-rexmlNot affected
Red Hat Enterprise Linux 8rubygem-rssNot affected
Red Hat Enterprise Linux 8rubygem-test-unitNot affected
Red Hat Enterprise Linux 8rubygem-typeprofNot affected
Red Hat Enterprise Linux 8rubygem-xmlrpcNot affected
Red Hat Enterprise Linux 8rubygemsNot affected
Red Hat Enterprise Linux 8rubygems-develNot affected
AlmaLinux 10capstone-javaFixed5.0.1-7.el10_1ALSA-2026:6817
AlmaLinux 10python3-capstoneFixed5.0.1-7.el10_1ALSA-2026:6817
AlmaLinux 9capstoneFixed4.0.2-11.el9_7ALSA-2026:39309
AlmaLinux 9capstone-develFixed4.0.2-13.el9_8ALSA-2026:4898
AlmaLinux 9capstone-javaFixed4.0.2-13.el9_8ALSA-2026:4898
AlmaLinux 9python3-capstoneFixed4.0.2-11.el9_7ALSA-2026:39309
Rocky Linux 10capstoneFixed0:5.0.1-7.el10_1RLSA-2026:6817
Rocky Linux 9capstoneFixed0:4.0.2-13.el9_8RLSA-2026:4898
Alpine Linux 3.24capstoneFixed5.0.7-r0ALPINE-CVE-2025-68114
Alpine Linux 3.23capstoneFixed5.0.7-r0ALPINE-CVE-2025-68114

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.