Skip to content
Heist/ feed
Back to feed
CriticalFix available

llama.cpp — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-34159

llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticated attacker can read and write arbitrary process memory via crafted GRAPH_COMPUTE messages. Combined with pointer leaks from ALLOC_BUFFER/BUFFER_GET_BASE, this gives full ASLR bypass and remote code execution. No authentication required, just TCP access to the RPC server port. This issue has been patched in version b8492.

Products
llama.cpp
Affected versions
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
Fixed versions
8611+dfsg-1
CVEs
CVE-2026-34159
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:36 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-34159

core-osv · Original source

Published 1 Apr 2026, 18:16 UTC

llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticated attacker can read and write arbitrary process memory via crafted GRAPH_COMPUTE messages. Combined with pointer leaks from ALLOC_BUFFER/BUFFER_GET_BASE, this gives full ASLR bypass and remote code execution. No authentication required, just TCP access to the RPC server port. This issue has been patched in version b8492.

osv:DEBIAN-CVE-2026-34159

llama.cpp

Fixed versions: 8611+dfsg-1

Complete source record
{
  "id": "57a5cb4e07342d5f66b27f2881e253399c33d2f63c94c798c9b0082d8ca810c8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-34159",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-34159",
    "summary": "llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticated attacker can read and write arbitrary process memory via crafted GRAPH_COMPUTE messages. Combined with pointer leaks from ALLOC_BUFFER/BUFFER_GET_BASE, this gives full ASLR bypass and remote code execution. No authentication required, just TCP access to the RPC server port. This issue has been patched in version b8492.",
    "evidence": "osv:DEBIAN-CVE-2026-34159",
    "products": [
      {
        "name": {
          "value": "llama.cpp",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8611+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "5151+dfsg-1~exp2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5151+dfsg-1~exp3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5318+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5318+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5713+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5760+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5760+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5760+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5760+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-3~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-3~exp2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-3~exp3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5882+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6641+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6641+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6641+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7593+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7593+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7593+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7965+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8064+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8064+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "8461+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2026-34159",
      "aliases": [
        "DEBIAN-CVE-2026-34159"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8611+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "llama.cpp",
            "purl": "pkg:deb/debian/llama.cpp?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-34159.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:33.491021756Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-34159"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-34159"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-34159",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460870,
  "published_at": "2026-04-01T18:16:29.687+00:00"
}