CVE-2026-32877

High

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.

SeverityHigh
CVSS8.2
Exploit probability—
ProductBotan
PublishedMar 30, 2026
First seenMar 30, 2026

How to fix

Update
  • botan_project botan3.11.0 or later

Affected products

ProductAffected versionsFixed in
botan_project botan2.3.0 ≤ v < 3.11.03.11.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.