Home › CVE › Vulnerabilities
CVE-2026-138092 — 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 flaw has been discovered in ggml-org llama.cpp up to 0.8.0. This vulnerability affects the function ggml_roll of the file ggml/src/ggml.c of the component Ggml Tensor Library Roll Operation. The manipulation results in integer overflow. The attack needs to be approached locally. Upgrading to version 0.9.0 is able to resolve this issue. The patch is identified as 0978a6e9022fb9bd6874b86154ee304e81929b9f. It is suggested 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 confidentiality, integrity and availability
- 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.8.0 (8 versions) | — |
References by type
Patches and fixed releases
- github.com/ggml-org/llama.cpp/commit/0978a6e9022fb9bd6874b86154ee304e81…
- github.com/ggml-org/llama.cpp/pull/30375
- github.com/ggml-org/llama.cpp/releases/tag/v0.9.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-138092?
A security flaw has been discovered in ggml-org llama.cpp up to 0.8.0. This vulnerability affects the function ggmlroll of the file ggml/src/ggml.c of the component Ggml Tensor Library Roll Operation. The manipulation results in integer overflow. The attack needs to be approached locally. Upgrading to version 0.9.0 is able to resolve this issue. The patch is identified as 0978a6e9022fb9bd6874b86154ee304e81929b9f. Weakness type: Numeric Errors (CWE-189).
How severe is CVE-2026-138092?
CVE-2026-138092 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-138092 being exploited?
Not as far as is known: CVE-2026-138092 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
Which versions are affected by CVE-2026-138092?
ggml-org llama.cpp 0.1, 0.2, 0.3 … 0.8.0 (8 versions).
How do I fix CVE-2026-138092?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.