Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-43630: llama.cpp builds b4882 before b8487 contain an out-of-bounds read vulnerability in the recurrent memory state

38
Routine
MEDIUM 6.5REMOTEUPGRADE

CVE-2026-43630 is a medium-severity flaw (CVSS 6.5) affecting llama.cpp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 f

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.5% (top 58%)
CISA exploited listNo
WeaknessCWE-125, CWE-209
Published2026-08-06
Last modified2026-10-22
Publisher (CNA): VulnCheck · Vendor: ggml

Last updated 2026-10-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ggml llama.cpp UPGRADE
Affected: >= b5702 and <= b7653
Fixed in: newer than b7653
Safe to downgrade to: a release before b5702
1. Check installed version
apt-cache policy llama.cpp || rpm -q llama.cpp || llama.cpp --version
2. UPGRADE to newer than b7653 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade llama.cpp
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade llama.cpp
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before b5702 (Debian / Ubuntu)
apt-cache madison llama.cpp sudo apt install llama.cpp=<VERSION_BEFORE_b5702> sudo apt-mark hold llama.cpp
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list llama.cpp sudo dnf downgrade llama.cpp-<VERSION_BEFORE_b5702> sudo dnf versionlock add llama.cpp
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · wasmedge · FIXED · 0.18.1-1.fc46 · FEDORA-2026-4c27216e39 · source
sudo dnf upgrade --advisory=FEDORA-2026-4c27216e39
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-43630?

llama.cpp: upgrade to newer than b7653. Exact commands for each OS are on this page.

Is CVE-2026-43630 being exploited?

CVE-2026-43630 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-43630 affect?

CVE-2026-43630 affects llama.cpp. Severity is medium (CVSS 6.5). 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

How urgent is CVE-2026-43630?

Priority 38/100. Remotely exploitable, no login, no user action

Software pages

OpenAI and LLM tools vulnerabilities

Related CVEs

References

← Back to latest CVEs