CVE-2026-32877
Last modified
CVE-2026-32877 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Botan Project | Botan | >= 2.3.0, < 3.11.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-32877?
How severe is CVE-2026-32877?
How do I fix CVE-2026-32877?
Are you affected by CVE-2026-32877?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
