Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-43630 EUVD-2026-54285GHSA-27j8-r4f8-8v3x

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

Published Aug 6, 2026 · Updated Oct 22, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
ggml-org llama.cpp b4882 – < b8487 b8487

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 llama.cpp 8611+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 llama.cpp No fix yet —
Ubuntu 26.04 LTS llama.cpp No fix yet —

References