SecurityContext

CVE-2026-34159: llama.cpp - Remote Code Execution

  • Cve: CVE-2026-34159
  • Name: llama.cpp - Remote Code Execution
  • 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.
  • Impact: Unauthenticated attackers can achieve full remote code execution and ASLR bypass, leading to complete system compromise.
  • Remediation: Update to version b8492 or later.
  • Vulnerability impact: remote_code_execution, information_disclosure, data_tampering
  • Requirements: Attacker needs TCP access to RPC server port
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01658
  • Epss percentile: 0.77262
  • Assignee: [email protected]
  • Published at: 2026-04-01T18:16:29Z
  • Age in days: 237
  • Modified at: 2026-10-26T21:10:00Z
  • Patch available: yes
  • Public exploits total: 4
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34159
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxwnvd2026-04-01
https://github.com/TeamN4C/SG-2026-0021poc-in-github2026-08-27
https://github.com/rohithronanki/CVE-2026-34159-Vulnerability-Research-Analysis-Detectionpoc-in-github2026-05-04
https://github.com/casp3r0x0/CVE-2026-34159poc-in-github2026-04-23

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ggml-org/llama.cpp/commit/39bf0d3c6a95803e0f41aaba069ffbee26721042Patch
https://github.com/ggml-org/llama.cpp/pull/20908Issue Tracking, Patch
https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxwExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ggml:llama.cpp< b8492nonvd/v1/products/ggml/llama.cpp

Projects

RepositoryLink kindsIndexedUrl
ggml-org/llama.cppcommit, fix, pull, security_advisoryyes/v1/repositories/ggml-org/llama.cpp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 4
  • Public exploit first date: 2026-04-01
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts