Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-32877

Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field
Back to all
CVE

CVE-2026-32877

Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.2
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32877.json, https://github.com/randombit/botan/security/advisories/GHSA-7jj6-4r42-w9h6, https://nvd.nist.gov/vuln/detail/CVE-2026-32877

Severity

8.2

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.2
EPSS Probability
0.00063%
EPSS Percentile
0.19839%
Introduced Version
9474deacd67433908dec38a409892a334aab679d,0,2.3.0
Fix Available
4f6f5bbaf7263ca6062e6644950ae30625f06490,3.11.0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading