CVE-2026-32877
HIGHBotan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field
Title source: cnaDescription
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 (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6
Scores
CVSS v3
8.2
EPSS
0.0028
EPSS Percentile
19.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-125
Status
published
Products (2)
botan_project/botan
2.3.0 - 3.11.0
randombit/botan
>= 2.3.0, < 3.11.0
Published
Mar 30, 2026
Tracked Since
Mar 31, 2026