CVE 8.2 HIGH

Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field_CVE-2026-32877

8.2 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

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.

Basic Information

ID CVE-2026-32877
Source GitHub_M
Published Mar 30, 2026 at 20:36
Modified Mar 31, 2026 at 15:26

Affected Product

Vendor randombit
Product botan
Version >= 2.3.0, < 3.11.0
Affected Versions randombit botan >= 2.3.0, < 3.11.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.