{"id":"CVE-2026-34159","aliases":["CVE-2026-34159"],"related":[],"kind":"vulnerability","state":"published","title":"llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"llama.cpp es una inferencia de varios modelos LLM en C/C++. Antes de la versión b8492, la función deserialize_tensor() del backend de RPC omite toda validación de límites cuando el campo buffer de un tensor es 0. Un atacante no autenticado puede leer y escribir memoria de proceso arbitraria mediante mensajes GRAPH_COMPUTE manipulados. Combinado con fugas de punteros de ALLOC_BUFFER/BUFFER_GET_BASE, esto permite una omisión completa de ASLR y ejecución remota de código. No se requiere autenticación, solo acceso TCP al puerto del servidor RPC. Este problema ha sido parcheado en la versión b8492.","source":"nvd"}],"published":"2026-04-01T16:59:59.967Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-119"],"affected":[{"ranges":[{"version":"< b8492","status":"affected"}],"vendor":"ggml-org","product":"llama.cpp","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"b8492"}],"vendor":"ggml","product":"llama.cpp","cpe":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxw","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/pull/20908","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/39bf0d3c6a95803e0f41aaba069ffbee26721042","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-04-01T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34159","url":"https://www.cve.org/CVERecord?id=CVE-2026-34159","licence":"CVE Terms of Use","modified":"2026-04-02T03:56:11.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34159","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34159","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:17.720Z","epss":{"score":0.01773,"percentile":0.78818,"date":"2026-12-01T12:00:22.000Z"}}