CVE-2024-31852 Affecting llvm-toolchain-16 package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.05% (18th 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-DEBIAN12-LLVMTOOLCHAIN16-6591560
  • published8 Apr 2024
  • disclosed5 Apr 2024

Introduced: 5 Apr 2024

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

How to fix?

There is no fixed version for Debian:12 llvm-toolchain-16.

NVD Description

Note: Versions mentioned in the description apply only to the upstream llvm-toolchain-16 package and not the llvm-toolchain-16 package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack, and thus there can sometimes be an exploitable error in the flow of control. This affects the ARM backend and can be demonstrated with Clang. NOTE: the vendor perspective is "we don't have strong objections for a CVE to be created ... It does seem that the likelihood of this miscompile enabling an exploit remains very low, because the miscompile resulting in this JOP gadget is such that the function is most likely to crash on most valid inputs to the function. So, if this function is covered by any testing, the miscompile is most likely to be discovered before the binary is shipped to production."

CVSS Scores

version 3.1