Back to vendor advisories
Microsoft Security Response CenterCVE-2024-31852

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."

MediumVendor CVSS 5.9 / 10 1 CVE Published Jun 30, 2024 at 7:00 AM UTC

Summary

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information.

If impact to additional products is identified, we will update the CVE to reflect this.

Products covered

  • cbl2 rust 1.72.0-8 on CBL Mariner 2.0

  • cbl2 clang16 16.0.0-1 on CBL Mariner 2.0

  • azl3 libcxx 18.1.2-3 on Azure Linux 3.0

  • azl3 compiler-rt 18.1.2-2 on Azure Linux 3.0

  • azl3 rust 1.75.0-9 on Azure Linux 3.0

  • azl3 clang 18.1.2-2 on Azure Linux 3.0

  • azl3 llvm 18.1.2-3 on Azure Linux 3.0

  • azl3 lldb 18.1.2-2 on Azure Linux 3.0

Show 9 more products
  • azl3 lld 18.1.2-2 on Azure Linux 3.0

  • cbl2 rust 1.72.0-10 on CBL Mariner 2.0

  • cbl2 rust 1.72.0-10 on CBL-Mariner 2.0

  • azl3 lld 18.1.2-3 on Azure Linux 3.0

  • azl3 llvm 18.1.2-4 on Azure Linux 3.0

  • azl3 clang 18.1.2-4 on Azure Linux 3.0

  • azl3 rust 1.75.0-14 on Azure Linux 3.0

  • azl3 compiler-rt 18.1.2-3 on Azure Linux 3.0

  • azl3 rust 1.86.0-1 on Azure Linux 3.0

Remediation

CBL-Mariner Releases

Vendor-listed fixes

  • 1.72.0-8

  • 16.0.0-1

  • 18.1.2-3

  • 18.1.2-2

  • 1.75.0-9

CVEs in this advisory 1

Updates

  1. Published by Microsoft Security Response Center

    The publication date reported by the vendor.

  2. Updated by Microsoft Security Response Center

    The vendor changed the advisory after it was first published.

  3. Added to SecurityAlert

    We collected the advisory from the official source.

  4. Confirmed at the source

    Our collector saw this advisory during a later source check.