{"id":"CVE-2025-68114","published":"2025-12-17T21:14:31Z","modified":"2025-12-18T15:09:11Z","title":"Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow","vendor":"capstone-engine","product":"capstone","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00324,"percentile":0.17898,"provenance":"source"},"cwes":[{"id":"CWE-124","name":"Buffer Underwrite"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529e","tags":["x_refsource_MISC"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.58},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"capstone-engine","affectedVersions":[{"vendor":"capstone-engine","product":"capstone","versions":["<= 6.0.0-Alpha5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-18T14:55:48.777775Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-203995","exploited":false,"provenance":"source"}}