Skip to content

CVE-2024-50382 Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with c...

MediumCVSS 5.9 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Botan before 3.6.0, when certain LLVM versions are used, has compiler-induced secret-dependent control flow in lib/utils/ghash/ghash.cpp in GHASH in AES-GCM. There is a branch instead of an XOR with carry. This was observed for Clang in LLVM 15 on RISC-V.

Upgrade path

9 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/oscar(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/oscar(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/oscar(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/oscar(Ubuntu 26.10) All versions No fix listed No fix yet
botan project botan < 3.6.0 3.6.0 Fixed
debian/botan(Debian 12) < 2.19.3+dfsg-1+deb12u1; = 2.19.3+dfsg-1 2.19.3+dfsg-1+deb12u1 Fixed
debian/botan(Debian 13) < 2.19.5+dfsg-3 2.19.5+dfsg-3 Fixed
ubuntu/botan(Ubuntu 22.04) < 2.19.1+dfsg-2ubuntu1+esm1 2.19.1+dfsg-2ubuntu1+esm1 Fixed
ubuntu/botan(Ubuntu 24.04) < 2.19.3+dfsg-1ubuntu2+esm1 2.19.3+dfsg-1ubuntu2+esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/botan(Debian:12) < 2.19.3+dfsg-1+deb12u1 2.19.3+dfsg-1+deb12u1
debian/botan(Debian:12) = 2.19.3+dfsg-1 No fix listed
debian/botan(Debian:13) < 2.19.5+dfsg-3 2.19.5+dfsg-3
ubuntu/oscar(Ubuntu:22.04) All versions No fix listed
ubuntu/botan(Ubuntu:22.04) < 2.19.1+dfsg-2ubuntu1+esm1 2.19.1+dfsg-2ubuntu1+esm1
botan project botan < 3.6.0 3.6.0
ubuntu/oscar(Ubuntu:24.04) All versions No fix listed
ubuntu/botan(Ubuntu:24.04) < 2.19.3+dfsg-1ubuntu2+esm1 2.19.3+dfsg-1ubuntu2+esm1
ubuntu/oscar(Ubuntu:26.04) All versions No fix listed
ubuntu/oscar(Ubuntu:26.10) All versions No fix listed

References