{
  "id": "CVE-2025-67873",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-67873",
  "published_at": "2025-12-17T21:12:13.739Z",
  "title": "Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow",
  "vendor": "capstone-engine",
  "product": "capstone",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha1:*:*:*:*:*:*",
    "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha2:*:*:*:*:*:*",
    "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha3:*:*:*:*:*:*",
    "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha4:*:*:*:*:*:*",
    "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 4.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "capstone-engine",
        "product": "capstone",
        "ranges": [
          "\u003c= 6.0.0-Alpha5"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
