Back to CVE records
Medium 4.8Published Dec 17, 2025

CVE-2025-67873Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow

Updated under an hour ago ()

Does this affect you?

It affects capstone-engine capstone and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
4.8 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-122
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Dec 18, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
capstone-engine capstone
capstone_engine:capstone (from the name)
through 6.0.0-Alpha5
CNA record
capstone-engine capstone
capstone-engine:capstone
before 6.0.0; 6.0.0; 6.0.0; 6.0.0; 6.0.0; 6.0.0
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.