Home › CVE › Vulnerabilities
CVE-2026-138094 — ggml-org llama.cpp
One of 2 ggml-org llama.cpp vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 4.8
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- low on integrity and availability, none on confidentiality
- Impact on other systems
- none
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| ggml-org llama.cpp | 0.1, 0.2, 0.3 … 0.6.0 (6 versions) | — |
References by type
Patches and fixed releases
- github.com/ggml-org/llama.cpp/commit/8ae386707bed05f02354dbfc6fa5ee0cf5…
- github.com/ggml-org/llama.cpp/pull/30135
- github.com/ggml-org/llama.cpp/releases/tag/v0.7.0
Other references
Affected
- ggml-org llama.cpp
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-138094?
A security vulnerability has been detected in ggml-org llama.cpp up to 0.6.0. Impacted is the function ggmlaccimpl 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. Weakness type: Numeric Errors (CWE-189).
How severe is CVE-2026-138094?
CVE-2026-138094 has a CVSS 4.0 base score of 4.8 (medium), from the CNA (vuldb.com). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-138094 being exploited?
Not as far as is known: CVE-2026-138094 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-138094?
ggml-org llama.cpp 0.1, 0.2, 0.3 … 0.6.0 (6 versions).
How do I fix CVE-2026-138094?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.