Skip to content
NewA calmer, faster ZeroHour

llama.cpp use-after-free allows unauthenticated remote code execution

Original title: ZDI-26-1079: llama.cpp server_context_impl destroy vocab Use-After-Free Remote Code Execution Vulnerability

ZDI Published Advisories ()
Part of a story covered by 9 sourcesZDI publishes nine llama.cpp GGUF and server remote code flawsMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

The server_context_impl vocab flaw, CVE-2026-131837, is rated CVSS 8.1 by ZDI.

ZDI disclosed a use-after-free in llama.cpp during server_context_impl destruction of vocab data. Remote attackers can execute arbitrary code without authentication. The advisory is ZDI-26-1079, tracked as CVE-2026-131837 with CVSS 8.1. No affected or fixed versions are stated.

Key facts
  • The bug is in server_context_impl destroy handling of vocab.
  • Authentication is not required, according to ZDI.
  • The snippet gives no patch version.
Security assessment · AI, from the article

Impact: unauthenticated remote code execution

ProductAffected
llama.cpp—
Analyze CVE-2026-131837 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-131837
———

From the original article

This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama. cpp. Authentication is not required to exploit this vulnerability.

ZDI Published Advisories

zerodayinitiative.com

Read the full article at ZDI Published Advisories

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.