{
  "id": "CVE-2026-34159",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34159",
  "published_at": "2026-04-01T16:59:59.967Z",
  "title": "llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend",
  "vendor": "ggml-org",
  "product": "llama.cpp",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-04-23T21:14:21Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 22.2,
    "repo": "casp3r0x0/CVE-2026-34159",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-119",
  "cpes": [
    "cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "casp3r0x0/CVE-2026-34159",
      "url": "https://github.com/casp3r0x0/CVE-2026-34159",
      "created_at": "2026-04-23T21:14:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 28,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-06-20T13:53:26Z"
    },
    {
      "repo": "rohithronanki/CVE-2026-34159-Vulnerability-Research-Analysis-Detection",
      "url": "https://github.com/rohithronanki/CVE-2026-34159-Vulnerability-Research-Analysis-Detection",
      "created_at": "2026-05-04T08:59:55Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 25,
      "suspicious": false,
      "suspicion_reasons": [
        "contains archives (Revshell_payload.zip)"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-01-20T14:56:44Z"
    },
    {
      "repo": "TeamN4C/SG-2026-0021",
      "url": "https://github.com/TeamN4C/SG-2026-0021",
      "created_at": "2026-08-27T02:53:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-06-19T14:05:19Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ggml-org",
        "product": "llama.cpp",
        "ranges": [
          "\u003c b8492"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxw"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ggml-org/llama.cpp/pull/20908"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ggml-org/llama.cpp/commit/39bf0d3c6a95803e0f41aaba069ffbee26721042"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/find",
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "casp3r0x0/CVE-2026-34159"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "casp3r0x0/CVE-2026-34159/linux_exploit_llama.py:228"
      ]
    }
  ],
  "rules": []
}
