---
title: "CVE-2026-137567: llama.cpp - Out-of-Bounds Write"
description: "llama.cpp before b12658 contains an out-of-bounds write vulnerability in the ggml RPC server, letting unauthenticated attackers write to arbitrary heap addresses via zero-element destination tensors."
url: https://panop.io/threat-heartbeat/CVE-2026-137567/
---

# CVE-2026-137567 llama.cpp - Out-of-Bounds Write

llama.cpp before b12658 contains an out-of-bounds write vulnerability in the ggml RPC server, letting unauthenticated attackers write to arbitrary heap addresses via zero-element destination tensors.

CVSS base score 9.8 /10

Critical

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-137567)

## Details

Type

Out-of-Bounds Write

Impact

Remote Code Execution, Denial Of Service

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

26 November 2026

Updated

27 November 2026

Weakness

[CWE-787](https://cwe.mitre.org/data/definitions/787.html)

## Vendor fix

Update to version b12658 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-137567](https://nvd.nist.gov/vuln/detail/CVE-2026-137567)
- [https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensor](https://www.vulncheck.com/advisories/llama-cpp-b11450-before-b12658-out-of-bounds-write-via-rpc-copy-tensor)
- [https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122](https://github.com/ggml-org/llama.cpp/blob/46f4da217419ecac95708600e0f6ebc4bdb91cfd/ggml/src/ggml-rpc/ggml-rpc.cpp#L2083-L2122)
- [https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342](https://github.com/ggml-org/llama.cpp/commit/03813c56e47f6cd7a9b9bc2ad8edcebed88ce342)
- [https://github.com/ggml-org/llama.cpp/pull/32651](https://github.com/ggml-org/llama.cpp/pull/32651)
- [https://github.com/ggml-org/llama.cpp/releases/tag/b12658](https://github.com/ggml-org/llama.cpp/releases/tag/b12658)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
