Read the docs

Integer overflow in ggml-org llama.cpp ggml_roll function

Priority LOW 21CWE-189Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

ggml-org llama.cpp up to 0.8.0 is affected. Manipulated input causes an integer overflow in the ggml_roll function in ggml/src/ggml.c (CWE-190). A local attacker with low privileges can trigger the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00162 3rd percentileScored 2026-11-30
Fix Fixed llama.cpp (ggml-org): 0.9.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ggml-orgllama.cpp0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8.00.9.0Patch availableCNA
  • llama.cpp Vendorggml-org Affected 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8.0 Fixed in 0.9.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

Upgrade ggml-org llama.cpp to version 0.9.0, which contains the patch 0978a6e.

Written with Claude Haiku 5.5 from the sources below · 2026-11-29

  • Fix · CNA llama.cpp (ggml-org) Fixed in 0.9.0

Timeline

  1. 2026-11-28 Threatist record created from CVE-2026-138092
  2. 2026-11-29 Alias added: GHSA-gx4g-qh5x-qqfx
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-26459 llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend CVSS 3.1CRITICAL 9.8
  • TI-2024-28446 llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor CVSS 3.1CRITICAL 9.8
  • TI-2026-98417 Integer underflow in llama.cpp grammar parser allows remote DoS CVSS 4.0HIGH 8.7
  • TI-2026-17570 llama.cpp has Out-of-bounds Write in llama-server CVSS 3.1CRITICAL 9.8
  • TI-2024-28447 llama.cpp allows write-what-where in rpc_server::set_tensor CVSS 3.1CRITICAL 10.0
  • TI-2024-15627 Integer overflow in ggml-org llama.cpp CVSS 3.1CRITICAL 9.8
See all 61 →

Sources