{"id":"CVE-2024-50382","aliases":["CVE-2024-50382"],"related":[],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En las versiones anteriores a la 3.6.0 de Botan, cuando se utilizan ciertas versiones de LLVM, el compilador genera un flujo de control dependiente del secreto en lib/utils/ghash/ghash.cpp en GHASH en AES-GCM. Hay una rama en lugar de un XOR con acarreo. Esto se observó para Clang en LLVM 15 en RISC-V.","source":"nvd"}],"published":"2024-10-23T00:00:00.000Z","modified":"2026-06-17T08:04:20.990Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-203"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"3.6.0","status":"affected"}],"vendor":"botan_project","product":"botan","cpe":"cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.6.0"}],"vendor":"botan_project","product":"botan","cpe":"cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/randombit/botan/commit/53b0cfde580e86b03d0d27a488b6c134f662e957","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/randombit/botan/compare/3.5.0...3.6.0","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://arxiv.org/pdf/2410.13489","tags":["exploit","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://news.ycombinator.com/item?id=41887153","tags":["issue-tracking"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-24T19:56:36.771Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50382","url":"https://www.cve.org/CVERecord?id=CVE-2024-50382","licence":"CVE Terms of Use","modified":"2024-10-24T19:57:23.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50382","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50382","licence":"Public domain","modified":"2026-06-17T08:04:20.990Z"}],"updatedAt":"2026-11-25T22:58:47.200Z","epss":{"score":0.00549,"percentile":0.4738,"date":"2026-12-01T12:00:22.000Z"}}