{"id":"CVE-2025-68114","title":"Capstone is a disassembly framework","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 unde…","severity":"medium","cvss":4.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","cwe":["CWE-120","CWE-124"],"vendor":"capstone-engine","product":"capstone","affected":["capstone < 6.0.0","capstone = 6.0.0"],"patched":["capstone 6.0.0"],"published":"2025-12-17","updated":"2026-10-13","sourceUpdated":"2026-10-13T11:10:00.203","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-68114","references":[{"url":"https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529e","label":"security-advisories@github.com"},{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r","label":"security-advisories@github.com"},{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"epss":0.00201,"epssPercentile":0.09167,"ingestedAt":"2026-10-13T11:23:51.128Z","slug":"CVE-2025-68114","body":"## Overview\n\nCapstone 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.\n\n## Affected\n\n- `capstone < 6.0.0`\n- `capstone = 6.0.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `capstone 6.0.0`","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":26.4,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}