{"id":"CVE-2025-68114","aliases":["CVE-2025-68114"],"related":[],"kind":"vulnerability","state":"published","title":"Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Capstone es un framework de desensamblaje. En las versiones 6.0.0-Alpha5 y anteriores, un retorno de vsnprintf sin verificar en SStream_concat permite que un cs_opt_mem.vsnprintf malicioso lleve el índice de SStream a un valor negativo o más allá del final, lo que lleva a un desbordamiento/subdesbordamiento de búfer de pila cuando ocurre la siguiente escritura. El commit 2c7797182a1618be12017d7d41e0b6581d5d529e corrige el problema.","source":"nvd"}],"published":"2025-12-17T21:14:31.226Z","modified":"2026-10-13T11:10:00.203Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-120","CWE-124"],"affected":[{"ranges":[{"version":"<= 6.0.0-Alpha5","status":"affected"}],"vendor":"capstone-engine","product":"capstone","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.0.0"},{"status":"affected","version":"6.0.0"},{"status":"affected","version":"6.0.0"},{"status":"affected","version":"6.0.0"},{"status":"affected","version":"6.0.0"},{"status":"affected","version":"6.0.0"}],"vendor":"capstone-engine","product":"capstone","cpe":"cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529e","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-18T14:55:48.777Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68114","url":"https://www.cve.org/CVERecord?id=CVE-2025-68114","licence":"CVE Terms of Use","modified":"2025-12-18T15:09:11.561Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68114","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68114","licence":"Public domain","modified":"2026-10-13T11:10:00.203Z"}],"updatedAt":"2026-11-25T22:59:09.603Z","epss":{"score":0.00215,"percentile":0.12699,"date":"2026-12-01T12:00:22.000Z"}}