CVE-2026-43630 llama.cpp b4882-b8487 Out-of-Bounds Read Information Disclosure

Medium 6.3 Published Updated

Attackers with write access to slot directories can trigger out-of-bounds reads to leak heap data and defeat ASLR in llama.cpp.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-43630?

CVE-2026-43630 is a medium-severity vulnerability in ggml-org llama.cpp, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

llama.cpp builds b4882 before b8487 contain an out-of-bounds read vulnerability in the recurrent memory state restore path that allows attackers with write access to the slot save directory to read memory past the end of the allocated cells array. Attackers can craft a malicious slot file with an oversized seq_id value to trigger an out-of-bounds read that leaks heap data including pointer values into server logs, defeating ASLR protections and facilitating further exploitation.

Weakness: CWE-209, CWE-125

Which versions are affected by CVE-2026-43630?

It affects 1 product.

Products include Ggml Llama.cpp.

How do I fix CVE-2026-43630?

Apply the vendor's patch.

Is CVE-2026-43630 being exploited?

There is no known exploitation of CVE-2026-43630 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-43630, GHSA-27j8-r4f8-8v3x, UBUNTU-CVE-2026-43630.

Is CVE-2026-43630 in your software?

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

Check your SBOMs for free