Improper Restriction of Operations within the Bounds of a Memory Buffer Affecting llvm package, versions [,18.1.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
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-UNMANAGED-LLVM-6579634
  • published7 Apr 2024
  • disclosed5 Apr 2024
  • creditUnknown

Introduced: 5 Apr 2024

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

How to fix?

Upgrade llvm to version 18.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer due to a miscompile flaw in certain conditions where the LR register can be overwritten without data being saved to the stack. This can lead to an exploitable error in the compiled code, affecting the ARM backend and can be demonstrated with Clang.

CVSS Scores

version 3.1