CVE-2026-138092: ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow
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. It is suggested to upgrade the affected component.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ggml-org/llama.cppto a version that resolves this vulnerability.Fixed in 0.9.0Patch 0978a6e9022fb9bd6874b86154ee304e81929b9f
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems using ggml-org llama.cpp versions up to 0.8.0 are affected. Exploitation requires local access and low-level privileges, so it is primarily relevant where untrusted or insufficiently trusted local users can interact with the affected component.
What access does an attacker need?
The attack vector is local, with low attack complexity, no user interaction required, and low privileges required. The provided data does not indicate that the issue can be exploited remotely.
What should be done to remediate the issue?
Upgrade ggml-org llama.cpp to version 0.9.0. The identified fix is patch 0978a6e9022fb9bd6874b86154ee304e81929b9f.