CVE-2024-50382 Affecting botan package, versions <2.19.3+dfsg-1ubuntu2.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.12% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2410-BOTAN-8303330
  • published14 Jun 2025
  • disclosed23 Oct 2024

Introduced: 23 Oct 2024

CVE-2024-50382  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 botan to version 2.19.3+dfsg-1ubuntu2.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream botan package and not the botan package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

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.