CVE-2026-138092
published medium CVSS 4.0 · 4.8ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cpp0.1 (affected) · 0.2 (affected) · 0.3 (affected) · 0.4 (affected) · 0.5 (affected) · 0.6 (affected) · 0.7 (affected) · 0.8.0 (affected) · 0.9.0 (unaffected) | Version-specific | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | 0.1 (affected)0.2 (affected)0.3 (affected)0.4 (affected)0.5 (affected)0.6 (affected)0.7 (affected)0.8.0 (affected)0.9.0 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-190 Integer Overflow
- CWE-189 Numeric Error
References
8- https://github.com/ggml-org/llama.cpp/
- https://github.com/ggml-org/llama.cpp/commit/0978a6e9022fb9bd6874b86154ee304e81929b9f
- https://github.com/ggml-org/llama.cpp/pull/30375
- https://github.com/ggml-org/llama.cpp/releases/tag/v0.9.0
- CVE-2026-138092 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-138092
- Submit #1071565 | ggml-org llama.cpp up to 0.8.0 (master before commit 0978a6e9022fb9bd6874b86154ee304e81929b9f) Integer Overflow https://vuldb.com/submit/1071565
- VDB-445009 | ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow https://vuldb.com/vuln/445009
- VDB-445009 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/445009/cti
Provider assertions
2VulDB · cna
ggml-org llama.cpp Ggml Tensor Library Roll Operation ggml.c ggml_roll integer overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ddd388dddf490e1e90178bc841ac1e2070c589ffc45ee47b34f22dfb76fc5702
- Ingested
- 30 Nov 2026, 18:37:20 UTC
- Source record
- Official CVE record