ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 28, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 27, 2026
Description
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.
| Product | Versions |
|---|---|
| llama.cpp ggml-org | 0.1 Affected0.2 Affected0.3 Affected0.4 Affected0.5 Affected0.6 Affected0.7 Affected0.8.0 Affected0.9.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulDB | |
| 3.1 | 5.3 Medium | VulDB | |
| 3.0 | 5.3 Medium | VulDB | |
| 2.0 | 4.3 Medium | VulDB |
Weaknesses
References
- VDB-445009 | ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflowVulnerability DatabaseTechnical Details
- VDB-445009 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-138092 | CVE Analysis and ReportThird-Party Advisory
- Submit #1071565 | ggml-org llama.cpp up to 0.8.0 (master before commit 0978a6e9022fb9bd6874b86154ee304e81929b9f) Integer OverflowThird-Party Advisory
- https://github.com/ggml-org/llama.cpp/pull/30375Issue TrackerPatch
- https://github.com/ggml-org/llama.cpp/commit/0978a6e9022fb9bd6874b86154ee304e81929b9fPatch
- https://github.com/ggml-org/llama.cpp/releases/tag/v0.9.0Patch
- https://github.com/ggml-org/llama.cpp/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.