CVE-2026-32877: Botan is a C++ cryptography library
CVE-2026-32877 is a high-severity flaw (CVSS 8.2) affecting botan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-03-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-32877?
botan: upgrade to 3.11.0. Exact commands for each OS are on this page.
Is CVE-2026-32877 being exploited?
CVE-2026-32877 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-32877 affect?
CVE-2026-32877 affects botan. Severity is high (CVSS 8.2). 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 com
How urgent is CVE-2026-32877?
Priority 39/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-44378 HIGH 7.5 UPGRADE Botan is a C++ cryptography library
- CVE-2026-34580 HIGH 7.5 DOWNGRADE Botan is a C++ cryptography library
- CVE-2026-34582 CRITICAL 9.1 UPGRADE Botan is a C++ cryptography library
- CVE-2026-32884 MEDIUM 5.9 UPGRADE Botan is a C++ cryptography library
- CVE-2026-32883 MEDIUM 5.9 UPGRADE Botan is a C++ cryptography library