p PatchFirst

CVE-2026-137567

CVE-2026-137567 · llama.cpp b11450 before b12658 Out-of-Bounds Write via RPC copy_tensor

CVSS 9.3 · Critical · EPSS 0.8%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="llama.cpp"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ggml"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • llama.cpp

    Versions
    • ≥ b11450, < b12658: Affected (custom)

    No fix published

  • llama.cpp Debian 14

    Versions
    • 10108+dfsg-1
    • 10108+dfsg1-1
    • 10108+dfsg1-2
    • 10192+dfsg-1
    • 10192+dfsg-2
    • 10192+dfsg-2~exp1
    All versions (68)
    • 10271+dfsg-1
    • 10344+dfsg-1
    • 10438+dfsg-1
    • 1:0.1.2+dfsg-1~exp1
    • 1:0.2.0+dfsg1-1
    • 1:0.2.0+dfsg1-1~exp1
    • 1:0.4.0+dfsg-1
    • 1:0.4.1+dfsg-1
    • 1:0.5.0+dfsg-1
    • 1:0.5.0+dfsg-2
    • 1:0.6.0+dfsg-1
    • 1:0.6.0+dfsg-2
    • 1:0.7.0+dfsg-1
    • 1:0.7.0+dfsg-2
    • 1:0.9.0+dfsg-1
    • 1:1.0.0+dfsg-1
    • 1:1.0.0+dfsg-1~exp1
    • 1:1.1.0+dfsg-1
    • 1:1.1.0+dfsg-2
    • 5151+dfsg-1~exp2
    • 5151+dfsg-1~exp3
    • 5318+dfsg-1
    • 5318+dfsg-2
    • 5713+dfsg-1
    • 5760+dfsg-1
    • 5760+dfsg-2
    • 5760+dfsg-3
    • 5760+dfsg-4
    • 5882+dfsg-1
    • 5882+dfsg-2
    • 5882+dfsg-3
    • 5882+dfsg-3~exp1
    • 5882+dfsg-3~exp2
    • 5882+dfsg-3~exp3
    • 5882+dfsg-4
    • 6641+dfsg-1
    • 6641+dfsg-2
    • 6641+dfsg-3
    • 7593+dfsg-1
    • 7593+dfsg-2
    • 7593+dfsg-3
    • 7965+dfsg-1
    • 8064+dfsg-1
    • 8064+dfsg-2
    • 8461+dfsg-1
    • 8611+dfsg-1
    • 8681+dfsg-1
    • 8870+dfsg-1
    • 8941+dfsg-1
    • 9009+dfsg-1
    • 9071+dfsg-1
    • 9190+dfsg-1
    • 9413+dfsg-1
    • 9555+dfsg-1
    • 9601+dfsg-1
    • 9721+dfsg-1
    • 9895+dfsg-1
    • 9895+dfsg-2
    • 9895+dfsg-3
    • 9951+dfsg-1
    • 9951+dfsg-2
    • 9951+dfsg-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ggml Ubuntu 26.10

    Versions
    • 0.9.11-1
    • 0.15.2-1
    • 0.22.0-1
    • 0.22.0-1ubuntu1
    • 0.22.0-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • llama.cpp Ubuntu 26.10

    Versions
    • 8681+dfsg-1
    • 9721+dfsg-1ubuntu1
    • 10438+dfsg-1
    • 10438+dfsg-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ggml Ubuntu 26.04 LTS

    Versions
    • 0.0~git20250712.d62df60-1
    • 0.9.7-2ubuntu1
    • 0.9.8-3
    • 0.9.8-3ubuntu1
    • 0.9.11-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • llama.cpp Ubuntu 26.04 LTS

    Versions
    • 5882+dfsg-2
    • 8064+dfsg-1ubuntu1
    • 8681+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →