home / blog
2026-12-01 · medium
CVE-2026-138092: Integer overflow vulnerability in llama.cpp
Medium severity vulnerability in llama.cpp allows integer overflow via ggml_roll. Patch available in version 0.9.0.

A security vulnerability has been identified in the ggml-org llama library up to version 0.8.0. CVE-2026-138092 specifically affects the ggml_roll function of the Ggml Tensor Library Roll Operation component, allowing an attacker to perform a local attack through manipulation that results in integer overflow.
The vulnerability has medium severity with CVSS score 5.3. The patch is already available in version 0.9.0 of the project, as confirmed by NVD on November 29, 2026. Indications show that there are public repositories containing proof of concept and exploit for this vulnerability.
We recommend that administrators and IT teams immediately upgrade to version 0.9.0 of llama.cpp. In systems that cannot be immediately updated, restrictions should be implemented on access to the ggml_roll function to minimize the risk of local exploitation.
At a glance
- What
- Integer overflow vulnerability in the ggml_roll function of the ggml/src/ggml.c file of the Ggml Tensor Library Roll Operation component in llama.cpp
- Severity
- Medium (CVSS 5.3)
- Affected versions
- llama.cpp up to version 0.8.0
- Fix
- Upgrade to version 0.9.0
- Status
- Published in NVD on 2026-11-29
- Action
- Apply patch 0978a6e9022fb9bd6874b86154ee304e81929b9f
Sources: NVD, CVE-2026-138092