CVE-2025-68114 (GCVE-0-2025-68114)
Vulnerability from cvelistv5 – Published: 2025-12-17 21:14 – Updated: 2025-12-18 15:09
VLAI
EPSS
VEX
Title
Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
Summary
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
4.8 (Medium)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-12-18 14:55 UTC
CWE
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://github.com/capstone-engine/capstone/secur… | x_refsource_CONFIRM |
| https://github.com/capstone-engine/capstone/commi… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| capstone-engine | capstone |
Affected:
<= 6.0.0-Alpha5
|
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-68114",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-12-18T14:55:48.777775Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-12-18T15:09:11.561Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "capstone",
"vendor": "capstone-engine",
"versions": [
{
"status": "affected",
"version": "\u003c= 6.0.0-Alpha5"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u2019s index negative or past the end, leading to a stack buffer underflow/overflow when the next write occurs. Commit 2c7797182a1618be12017d7d41e0b6581d5d529e fixes the issue."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-124",
"description": "CWE-124: Buffer Underwrite (\u0027Buffer Underflow\u0027)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-120",
"description": "CWE-120: Buffer Copy without Checking Size of Input (\u0027Classic Buffer Overflow\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-12-17T21:14:31.226Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r"
},
{
"name": "https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529e",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529e"
}
],
"source": {
"advisory": "GHSA-85f5-6xr3-q76r",
"discovery": "UNKNOWN"
},
"title": "Capstone doesn\u0027t check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2025-68114",
"datePublished": "2025-12-17T21:14:31.226Z",
"dateReserved": "2025-12-15T16:16:22.744Z",
"dateUpdated": "2025-12-18T15:09:11.561Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2025-68114",
"date": "2026-10-17",
"epss": "0.00201",
"percentile": "0.0929"
},
"microsoft_vex": {
"current_release_date": "2026-03-04T14:36:09.000Z",
"cve": "CVE-2025-68114",
"id": "msrc_CVE-2025-68114",
"initial_release_date": "2025-12-02T00:00:00.000Z",
"product_status:fixed": "2",
"product_status:known_affected": "4",
"product_status:known_not_affected": "2",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "Capstone doesn\u0027t check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow",
"url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-68114.json",
"version": "6"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"product": "capstone",
"vendor": "capstone-engine",
"versions": [
{
"status": "affected",
"version": "\u003c= 6.0.0-Alpha5"
}
]
}
],
"source": "security-advisories@github.com"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:*",
"matchCriteriaId": "DD22C7C2-F647-4AB5-BEB4-C70F722C0419",
"versionEndExcluding": "6.0.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha1:*:*:*:*:*:*",
"matchCriteriaId": "99F76525-F73B-4F66-AE46-A1ECAF0C7A0C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha2:*:*:*:*:*:*",
"matchCriteriaId": "442C7F48-5BEE-4702-AC0F-DE5C70FAA93F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha3:*:*:*:*:*:*",
"matchCriteriaId": "3C88415A-376C-4F7F-9D7D-3CB5C8FB9346",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha4:*:*:*:*:*:*",
"matchCriteriaId": "67358CE5-F734-4E55-B021-D3AC5D937DD4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:capstone-engine:capstone:6.0.0:alpha5:*:*:*:*:*:*",
"matchCriteriaId": "9DED59B8-DC00-4323-89FA-044F7666AF5D",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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\u2019s index negative or past the end, leading to a stack buffer underflow/overflow when the next write occurs. Commit 2c7797182a1618be12017d7d41e0b6581d5d529e fixes the issue."
},
{
"lang": "es",
"value": "Capstone es un framework de desensamblaje. En las versiones 6.0.0-Alpha5 y anteriores, un retorno de vsnprintf sin verificar en SStream_concat permite que un cs_opt_mem.vsnprintf malicioso lleve el \u00edndice de SStream a un valor negativo o m\u00e1s all\u00e1 del final, lo que lleva a un desbordamiento/subdesbordamiento de b\u00fafer de pila cuando ocurre la siguiente escritura. El commit 2c7797182a1618be12017d7d41e0b6581d5d529e corrige el problema."
}
],
"id": "CVE-2025-68114",
"lastModified": "2026-10-13T11:10:00.203",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"version": "3.1"
},
"exploitabilityScore": 1.3,
"impactScore": 3.4,
"source": "security-advisories@github.com",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-68114",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-12-18T14:55:48.777775Z",
"version": "2.0.3"
}
}
]
},
"published": "2025-12-17T22:16:01.400",
"references": [
{
"source": "security-advisories@github.com",
"tags": [
"Patch"
],
"url": "https://github.com/capstone-engine/capstone/commit/2c7797182a1618be12017d7d41e0b6581d5d529e"
},
{
"source": "security-advisories@github.com",
"tags": [
"Vendor Advisory"
],
"url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r"
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Vendor Advisory"
],
"url": "https://github.com/capstone-engine/capstone/security/advisories/GHSA-85f5-6xr3-q76r"
}
],
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-120"
},
{
"lang": "en",
"value": "CWE-124"
}
],
"source": "security-advisories@github.com",
"type": "Secondary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-21T12:05:51+00:00",
"cve": "CVE-2025-68114",
"id": "CVE-2025-68114",
"initial_release_date": "2025-12-17T21:14:31.226000+00:00",
"product_status:fixed": "276",
"product_status:known_not_affected": "129",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "capstone: Capstone: Memory corruption via unchecked vsnprintf return",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68114.json",
"version": "3"
}
}
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.