CVE-2026-13574 llvm llvm-project Bitcode File IntrinsicInst.cpp getBasePtr heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in LLVM's Bitcode File Handler allows local attackers to potentially execute code or cause denial of service via crafted files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-13574?

CVE-2026-13574 is a medium-severity memory corruption vulnerability in llvm-project, published on 29 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was determined in llvm llvm-project up to 22.1.6. This impacts the function GCRelocateInst::getBasePtr in the library llvm/lib/IR/IntrinsicInst.cpp of the component Bitcode File Handler. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. There are still doubts about whether this vulnerability truly exists. The LLVM project explains, that the reported behavior is outside its documented security scope and therefore not considered a security vulnerability.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2026-13574?

How do I fix CVE-2026-13574?

No fix published yet.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-13574 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-13574 exists.

Sources

Also known as BELL-CVE-2026-13574, DEBIAN-CVE-2026-13574, GHSA-pf97-7r98-qpj7, UBUNTU-CVE-2026-13574.

Is CVE-2026-13574 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free