SecurityContext

CVE-2025-68114: Capstone - Buffer Overflow

  • Cve: CVE-2025-68114
  • Name: Capstone - Buffer Overflow
  • Description: 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.
  • Impact: Attackers can cause stack buffer underflow or overflow, potentially leading to memory corruption or code execution.
  • Remediation: Update to a version including commit 2c7797182a1618be12017d7d41e0b6581d5d529e or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00215
  • Epss percentile: 0.11806
  • Assignee: [email protected]
  • Published at: 2025-12-17T22:16:01Z
  • Age in days: 342
  • Modified at: 2026-10-13T11:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-68114
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

References

UrlSourceTags
https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529envdPatch
https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76rnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
capstone-engine:capstone< 6.0.0, = 6.0.0 alpha1, = 6.0.0 alpha2, = 6.0.0 alpha3, = 6.0.0 alpha4, = 6.0.0 alpha5nonvd/v1/products/capstone-engine/capstone

Projects

RepositoryLink kindsIndexedUrl
capstone-engine/capstonecommit, fix, security_advisoryyes/v1/repositories/capstone-engine/capstone

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts