Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field
Résumé
Botan: Heap Buffer Over-read in SM2 Decryption via Undersized C3 Hash Field
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Alpine Linux ALPINE-CVE-2026-32877 botan3 Corrigé dans: 3.11.0-r0
- Debian DEBIAN-CVE-2026-32877 botan
- Ubuntu UBUNTU-CVE-2026-32877 botan1.10
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov