CVE catalog

CVE-2025-68114

capstone affected and fixed versions

[CVE catalog]

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.

Severity
High · CVSS 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.20% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "capstone",
      "status": "fixed",
      "release": "sid",
      "version": "5.0.9-1"
    },
    {
      "name": "capstone",
      "status": "fixed",
      "release": "forky",
      "version": "5.0.9-1"
    },
    {
      "name": "capstone",
      "status": "fixed",
      "release": "trixie",
      "version": "5.0.7-1~deb13u1"
    },
    {
      "name": "capstone",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "4.0.2-5"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1123739,
      "name": "capstone",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "5.0.7-1"
    },
    {
      "bug": 1123739,
      "name": "capstone",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "5.0.7-1"
    },
    {
      "bug": 1123739,
      "name": "capstone",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "5.0.7-1~deb13u1"
    },
    {
      "bug": 1123739,
      "name": "capstone",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "capstone",
      "ranges": [],
      "ecosystem": "cpe",
      "fixed_version": "",
      "provider_record_id": "NVD-CVE-2025-68114"
    }
  ]
}

[Debian bug #1123739]

Publisher notes

[bookworm] capstone: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [capstone-tool]Unknown

    Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

    • 4.0.2-5 · arm64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

  • [libcapstone4]Unknown

    Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

    • 4.0.2-5 · arm64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

  • Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

    • 4.0.2-5 · arm64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

  • Source package: [capstone]

    Details (2)
    • 4.0.2-5 · amd64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

    • 4.0.2-5 · arm64 · bookworm

      Affected

      dsa · capstone · debian · bookworm

Observed:

References