CVE-2025-68114
published medium CVSS 3.1 · 4.8Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| capstone-engine | — | capstone<= 6.0.0-Alpha5 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3351 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1772 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | capstone | Advisory build | 4.0.2-11.el9_7 | ALSA-2026:4898 |
| Alpine Linux | edge | capstone | Fixed | 5.0.7-r0 | Package fix record |
| Oracle Linux | 10 | capstoneaarch64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstoneaarch64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | capstoneaarch64 | Advisory build | 4.0.2-150500.3.3.1 | SUSE-SU-2026:0060-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | capstone | Advisory build | 4.0.2-13.el9_8 | ALSA-2026:39309 |
| Alpine Linux | v3.23 | capstone | Fixed | 5.0.7-r0 | Package fix record |
| Alpine Linux | v3.24 | capstone | Fixed | 5.0.7-r0 | Package fix record |
| Oracle Linux | 10 | capstonex86_64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 9 | capstoneaarch64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Oracle Linux | 9 | capstonex86_64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Red Hat Enterprise Linux | RHEL-10 | capstoneaarch64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstoneppc64le | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstoneppc64le | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstones390x | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstones390x | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstonesrc | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstonesrc | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstonex86_64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstonex86_64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneaarch64 | Advisory build | 4.0.2-11.el9_2 | RHSA-2026:5123 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneaarch64 | Advisory build | 4.0.2-11.el9_4 | RHSA-2026:5125 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneaarch64 | Advisory build | 4.0.2-11.el9_6 | RHSA-2026:5124 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneaarch64 | Advisory build | 4.0.2-11.el9_7 | RHSA-2026:4898 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneaarch64 | Advisory build | 4.0.2-13.el9_8 | RHSA-2026:39309 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneaarch64 | Advisory build | 4.0.2-5.el9_0 | RHSA-2026:13923 |
| Red Hat Enterprise Linux | RHEL-9 | capstonei686 | Advisory build | 4.0.2-11.el9_2 | RHSA-2026:5123 |
| Red Hat Enterprise Linux | RHEL-9 | capstonei686 | Advisory build | 4.0.2-11.el9_4 | RHSA-2026:5125 |
| Red Hat Enterprise Linux | RHEL-9 | capstonei686 | Advisory build | 4.0.2-11.el9_6 | RHSA-2026:5124 |
| Red Hat Enterprise Linux | RHEL-9 | capstonei686 | Advisory build | 4.0.2-11.el9_7 | RHSA-2026:4898 |
| Red Hat Enterprise Linux | RHEL-9 | capstonei686 | Advisory build | 4.0.2-5.el9_0 | RHSA-2026:13923 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneppc64le | Advisory build | 4.0.2-11.el9_2 | RHSA-2026:5123 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneppc64le | Advisory build | 4.0.2-11.el9_4 | RHSA-2026:5125 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneppc64le | Advisory build | 4.0.2-11.el9_6 | RHSA-2026:5124 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneppc64le | Advisory build | 4.0.2-11.el9_7 | RHSA-2026:4898 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneppc64le | Advisory build | 4.0.2-13.el9_8 | RHSA-2026:39309 |
| Red Hat Enterprise Linux | RHEL-9 | capstoneppc64le | Advisory build | 4.0.2-5.el9_0 | RHSA-2026:13923 |
| Red Hat Enterprise Linux | RHEL-9 | capstones390x | Advisory build | 4.0.2-11.el9_2 | RHSA-2026:5123 |
| Red Hat Enterprise Linux | RHEL-9 | capstones390x | Advisory build | 4.0.2-11.el9_4 | RHSA-2026:5125 |
| Red Hat Enterprise Linux | RHEL-9 | capstones390x | Advisory build | 4.0.2-11.el9_6 | RHSA-2026:5124 |
| Red Hat Enterprise Linux | RHEL-9 | capstones390x | Advisory build | 4.0.2-11.el9_7 | RHSA-2026:4898 |
| Red Hat Enterprise Linux | RHEL-9 | capstones390x | Advisory build | 4.0.2-13.el9_8 | RHSA-2026:39309 |
| Red Hat Enterprise Linux | RHEL-9 | capstones390x | Advisory build | 4.0.2-5.el9_0 | RHSA-2026:13923 |
| Red Hat Enterprise Linux | RHEL-9 | capstonesrc | Advisory build | 4.0.2-11.el9_2 | RHSA-2026:5123 |
| Red Hat Enterprise Linux | RHEL-9 | capstonesrc | Advisory build | 4.0.2-11.el9_4 | RHSA-2026:5125 |
| Red Hat Enterprise Linux | RHEL-9 | capstonesrc | Advisory build | 4.0.2-11.el9_6 | RHSA-2026:5124 |
| Red Hat Enterprise Linux | RHEL-9 | capstonesrc | Advisory build | 4.0.2-11.el9_7 | RHSA-2026:4898 |
| Red Hat Enterprise Linux | RHEL-9 | capstonesrc | Advisory build | 4.0.2-13.el9_8 | RHSA-2026:39309 |
| Red Hat Enterprise Linux | RHEL-9 | capstonesrc | Advisory build | 4.0.2-5.el9_0 | RHSA-2026:13923 |
| Red Hat Enterprise Linux | RHEL-9 | capstonex86_64 | Advisory build | 4.0.2-11.el9_2 | RHSA-2026:5123 |
| Red Hat Enterprise Linux | RHEL-9 | capstonex86_64 | Advisory build | 4.0.2-11.el9_4 | RHSA-2026:5125 |
| Red Hat Enterprise Linux | RHEL-9 | capstonex86_64 | Advisory build | 4.0.2-11.el9_6 | RHSA-2026:5124 |
| Red Hat Enterprise Linux | RHEL-9 | capstonex86_64 | Advisory build | 4.0.2-11.el9_7 | RHSA-2026:4898 |
| Red Hat Enterprise Linux | RHEL-9 | capstonex86_64 | Advisory build | 4.0.2-13.el9_8 | RHSA-2026:39309 |
| Red Hat Enterprise Linux | RHEL-9 | capstonex86_64 | Advisory build | 4.0.2-5.el9_0 | RHSA-2026:13923 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | capstoneppc64le | Advisory build | 4.0.2-150500.3.3.1 | SUSE-SU-2026:0060-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | capstones390x | Advisory build | 4.0.2-150500.3.3.1 | SUSE-SU-2026:0060-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | capstonex86_64 | Advisory build | 4.0.2-150500.3.3.1 | SUSE-SU-2026:0060-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | capstoneaarch64 | Advisory build | 5.0.9-1.1 | OPENSUSE-SU-2026:12623-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | capstoneppc64le | Advisory build | 5.0.9-1.1 | OPENSUSE-SU-2026:12623-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | capstones390x | Advisory build | 5.0.9-1.1 | OPENSUSE-SU-2026:12623-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | capstonex86_64 | Advisory build | 5.0.9-1.1 | OPENSUSE-SU-2026:12623-1 |
| AlmaLinux | 10 | capstone-java | Advisory build | 5.0.1-7.el10_1 | ALSA-2026:6817 |
| AlmaLinux | 10 | python3-capstone | Advisory build | 5.0.1-7.el10_1 | ALSA-2026:6817 |
| AlmaLinux | 9 | capstone-devel | Advisory build | 4.0.2-11.el9_7 | ALSA-2026:4898 |
| AlmaLinux | 9 | capstone-devel | Advisory build | 4.0.2-13.el9_8 | ALSA-2026:39309 |
| AlmaLinux | 9 | capstone-java | Advisory build | 4.0.2-11.el9_7 | ALSA-2026:4898 |
| AlmaLinux | 9 | capstone-java | Advisory build | 4.0.2-13.el9_8 | ALSA-2026:39309 |
| AlmaLinux | 9 | python3-capstone | Advisory build | 4.0.2-11.el9_7 | ALSA-2026:4898 |
| AlmaLinux | 9 | python3-capstone | Advisory build | 4.0.2-13.el9_8 | ALSA-2026:39309 |
| Oracle Linux | 10 | capstone-develaarch64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 10 | capstone-develx86_64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 10 | capstone-javaaarch64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 10 | capstone-javax86_64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 10 | python3-capstoneaarch64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 10 | python3-capstonex86_64 | Advisory build | 0:5.0.1-7.el10_1 | ELSA-2026-6817 |
| Oracle Linux | 9 | capstone-develaarch64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Oracle Linux | 9 | capstone-develx86_64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Oracle Linux | 9 | capstone-javaaarch64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Oracle Linux | 9 | capstone-javax86_64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Oracle Linux | 9 | python3-capstoneaarch64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Oracle Linux | 9 | python3-capstonex86_64 | Advisory build | 0:4.0.2-11.el9_7 | ELSA-2026-4898 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfoaarch64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfoaarch64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfoppc64le | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfoppc64le | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfos390x | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfos390x | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfox86_64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debuginfox86_64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsourceaarch64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsourceaarch64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsourceppc64le | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsourceppc64le | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsources390x | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsources390x | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsourcex86_64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-debugsourcex86_64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-develaarch64 | Advisory build | 5.0.1-7.el10_0 | RHSA-2026:5224 |
| Red Hat Enterprise Linux | RHEL-10 | capstone-develaarch64 | Advisory build | 5.0.1-7.el10_1 | RHSA-2026:6817 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| capstone-engine | capstone | <= 6.0.0-Alpha5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-124 CWE-124: Buffer Underwrite ('Buffer Underflow')
- CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
2Provider assertions
2GitHub_M · cna
Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7916d89597295173c9a5ffb72bdd43f73892ad504251bfdd4187e1e7ff501b25
- Ingested
- 23 Sep 2026, 08:57:02 UTC
- Source record
- Official CVE record