Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| capstone-engine | capstone | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Capstone-engine | Capstone | — |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.201% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Capstone-engine
Capstone-engine capstone |
|
| Vendors & Products |
Capstone-engine
Capstone-engine capstone |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow | |
| Weaknesses | CWE-120 CWE-124 |
|
| References |
| |
| Metrics |
cvssV3_1
|