Buffer Overflow Affecting libcapstone-devel package, versions <4.0.2-150500.3.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-LIBCAPSTONEDEVEL-14908255
  • published9 Jan 2026
  • disclosed7 Jan 2026

Introduced: 7 Jan 2026

CVE-2025-68114  (opens in a new tab)
CWE-120  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 libcapstone-devel to version 4.0.2-150500.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcapstone-devel package and not the libcapstone-devel package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1