CVE-2026-32877

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-30 21:17

Updated : 2026-06-17 10:36


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