Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| randombit | botan | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Randombit | Botan |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.289% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Botan Project
Botan Project botan |
|
| CPEs | cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Botan Project
Botan Project botan |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1284 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Randombit
Randombit botan |
|
| Vendors & Products |
Randombit
Randombit botan |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Botan is a C++ cryptography library. From version 2.3.0 to before version 3.11.0, during SM2 decryption, the code that checked the authentication code value (C3) failed to check that the encoded value was of the expected length prior to comparison. An invalid ciphertext can cause a heap over-read of up to 31 bytes, resulting in a crash or potentially other undefined behavior. This issue has been patched in version 3.11.0. | |
| Title | Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field | |
| Weaknesses | CWE-125 | |
| References |
| |
| Metrics |
cvssV3_1
|