Heap-based Buffer Overflow Affecting capstone-devel package, versions <0:4.0.2-11.el9_7


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.2% (11th 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-ALMALINUX9-CAPSTONEDEVEL-15758563
  • published23 Mar 2026
  • disclosed18 Mar 2026

Introduced: 18 Mar 2026

CVE-2025-67873  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 capstone-devel to version 0:4.0.2-11.el9_7 or higher.
This issue was patched in ALSA-2026:4898.

NVD Description

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

Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.

CVSS Base Scores

version 3.1