| Component | llama.cpp |
| Severity | medium (CVSS 4.4) |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| Published (NVD) | 2026-11-29 |
| Affected versions | < 0.7.0 read from the advisory text: no structured source gives these versions yet the advisory names 0.6.0 as the last affected release and 0.7.0 as the fix: the releases in between are counted as affected |
| Fixed in | 0.7.0 |
| Weakness | CWE-189CWE-197 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Awaiting Analysis) lists no affected versions of llama.cpp for this CVE. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.
NVD description
A security vulnerability has been detected in ggml-org llama.cpp up to 0.6.0. Impacted is the function ggml_acc_impl of the file ggml/src/ggml.c of the component ggml Handler. Such manipulation leads to numeric truncation error. The attack can only be performed from a local environment. Upgrading to version 0.7.0 is recommended to address this issue. The name of the patch is 8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f. It is recommended to upgrade the affected component.
What to do
- Upgrade llama.cpp to
0.7.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
- Run llama.cpp bound to localhost and reach it over a private network rather than an open port. Tailscale for self-hosted AI · Which machine for a 7B model next to an agent · Agent plus local model, the exact setup, €12
Sources
- NVD: CVE-2026-138094
- https://github.com/ggml-org/llama.cpp/
- https://github.com/ggml-org/llama.cpp/commit/8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f
- https://github.com/ggml-org/llama.cpp/pull/30135
- https://github.com/ggml-org/llama.cpp/releases/tag/v0.7.0
- https://vuldb.com/cve/CVE-2026-138094
- https://vuldb.com/submit/1071576
- https://vuldb.com/vuln/445011
- https://vuldb.com/vuln/445011/cti