Read the docs

Out-of-bounds write in llama.cpp RPC server allows memory writes

Priority MEDIUM 41CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.

Summary

llama.cpp from b11450 before b12658 contains an out-of-bounds write (CWE-787) in the ggml RPC server, where zero-element destination tensors are not handled safely. An unauthenticated remote attacker can write to arbitrary heap addresses, which can crash the server or execute code.

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

Description from the CNA

llama.cpp b11450 before b12658 contains an out-of-bounds write vulnerability in the ggml RPC server that allows unauthenticated attackers to write to arbitrary heap addresses via zero-element destination tensors. Attackers can learn buffer bases with BUFFER_GET_BASE, then send RPC_CMD_COPY_TENSOR with a destination pointer below the buffer base to crash the server or execute code.

Why it matters now

EPSS 0.00787 52nd percentileScored 2026-11-30
Fix Fixed llama.cpp (ggml-org): b12658

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ggml-orgllama.cppb11450 to before b12658b12658Patch availableCNA
  • llama.cpp Vendorggml-org Affected b11450 to before b12658 Fixed in b12658 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

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

Remediation

Update llama.cpp to b12658 or later, the fixed version listed for ggml-org llama.cpp.

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

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

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-137567
  2. 2026-11-27 Alias added: GHSA-8fqh-8p37-cc5h
  3. 2026-11-27 Affected versions changed · Red Hat
  4. 2026-11-27 CVSS score added · Red Hat

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