Out-of-bounds read in Botan - CVE-2026-32877
Published: April 8, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service and disclose sensitive information.
The vulnerability exists due to out-of-bounds read in the SM2 decryption authentication code value (C3) check when processing a crafted SM2 ciphertext with an undersized C3 hash field. A remote attacker can send a specially crafted SM2 ciphertext to cause a denial of service and disclose sensitive information.
The over-read is limited to up to 31 bytes and may result in other undefined behavior.
Affected software
Fedora
openEuler
botan2-doc
python3-botan2
botan2-devel
botan2-debugsource
botan2-debuginfo
botan2
botan3
How to mitigate CVE-2026-32877
botan2-doc - addressed in versions 2.19.3-6, 2.19.3-7
python3-botan2 - addressed in versions 2.19.3-6, 2.19.3-7
botan2-devel - addressed in versions 2.19.3-6, 2.19.3-7
botan2-debugsource - addressed in versions 2.19.3-6, 2.19.3-7
botan2-debuginfo - addressed in versions 2.19.3-6, 2.19.3-7
botan2 - addressed in versions 2.19.3-6, 2.19.3-7
botan3 - addressed in versions 3.9.0-3.el10_3, 3.9.0-4.el10_3, 3.9.0-6.fc44, 3.9.0-7.fc44