PoC Monitor
← All CVEs
CVE-2026-34159published 1 Apr 2026 16:59 UTCData: JSON · API

Ggml-org llama.cpp

llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend

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.

First public PoC 22 daysafter publication · 23 Apr 2026
Public PoCs22 on GitHub
CVSS9.8critical · scored by CNA · CWE-119
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

ggml-org llama.cpp
  • < b8492

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-3t=0+3+6+9+12+15+18+21+24CVE published1 Apr 2026 · t = 0First public PoC23 Apr 2026 · t+22d

First public PoC 22 days after publication; not in CISA KEV. First PoC: casp3r0x0/CVE-2026-34159 (created 23 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs · 1 informational

PoCs 2
RepositoryCreatedStarsAssessment
casp3r0x0/CVE-2026-34159 23 Apr 2026 +22 d 28 PoC
TeamN4C/SG-2026-0021 27 Aug 2026 +147 d 0 PoC via PoC Index
Informational 1
RepositoryCreatedStarsAssessment
rohithronanki/CVE-2026-34159-Vulnerability-Research-Analysis-Detection 4 May 2026 +33 d 0 Informational · detection
Flags · score 25
  • contains archives (Revshell_payload.zip)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /api/find

Content-Type
application/json
Seen in
1 repo: casp3r0x0/CVE-2026-34159
Evidence
casp3r0x0/CVE-2026-34159/linux_exploit_llama.py:228

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/find
(?i)^/api/find(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/find
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34159 ggml-org llama.cpp exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/find"; reference:url,poc.griffinguard.io/cve/CVE-2026-34159; classtype:web-application-attack; sid:9285610; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/find
title: ggml-org llama.cpp exploit attempt (CVE-2026-34159)
id: gg-pocmon-cve-2026-34159-9285610
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34159. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-34159
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/find'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.34159