Out-of-bounds write in llama.cpp RPC server allows memory writes
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
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
- 2026-11-26 Threatist record created from CVE-2026-137567
- 2026-11-27 Alias added: GHSA-8fqh-8p37-cc5h
- 2026-11-27 Affected versions changed · Red Hat
- 2026-11-27 CVSS score added · Red Hat
References
Patch 2
More ggml-org vulnerabilities
- 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
Sources
- CVE-2026-137567 · CVE Program
- CVE-2026-137567 · NVD
- FIRST EPSS
- GHSA-8fqh-8p37-cc5h · GitHub Advisory Database · CC BY 4.0
- CVE-2026-137567 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences