Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Botan Project | Botan | >= 2.3.0, < 3.11.0 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-32877?
CVE-2026-32877 is a vulnerability with a CVSS score of 8.2 (HIGH). 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...
How severe is CVE-2026-32877?
CVE-2026-32877 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-32877?
Check the references section above for vendor advisories and patch information. Affected products include: Botan Project Botan.