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.
References
| Link | Resource |
|---|---|
| https://github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6 | Vendor Advisory |
Configurations
History
13 Apr 2026, 13:57
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:* | |
| First Time |
Botan Project botan
Botan Project |
|
| References | () https://github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6 - Vendor Advisory |
01 Apr 2026, 14:24
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
30 Mar 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-30 21:17
Updated : 2026-04-13 13:57
NVD link : CVE-2026-32877
Mitre link : CVE-2026-32877
CVE.ORG link : CVE-2026-32877
JSON object : View
Products Affected
botan_project
- botan
CWE
CWE-125
Out-of-bounds Read
