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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.99% (58th 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 Learn

Learn about Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LLVMCORE-10077595
  • published8 May 2025
  • 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-core to version 19.1.7 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 Base Scores

version 3.1