llama.cpp: nine flaws in GGUF parsing and the server, now fixed
llama.cpp has fixed nine flaws that ZDI published together, including an unauthenticated use-after-free in llama-server.
· Zero Day Initiative · Research by Nicholas Zubrisky (TrendAI Research), zent, chwrld, quangdm
Zero Day Initiative published nine llama.cpp advisories on November 24. Eight need a malicious GGUF file; ZDI-26-1079 is an unauthenticated use-after-free in llama-server. Every advisory says the project has shipped a fix.
- zerodayinitiative.comZDI-26-1079 Advisory
- zerodayinitiative.comZDI-26-1071 Advisory
- zerodayinitiative.comZDI-26-1074 Advisory
- +1 sources
01What happened
Zero Day Initiative published nine llama.cpp advisories on November 24, 2026, ZDI-26-1071 through ZDI-26-1079, carrying CVE-2026-131828 and CVE-2026-131830 to CVE-2026-131837. Finders include zent, chwrld, quangdm, Nicholas Zubrisky of TrendAI Research and two anonymous reporters. Each advisory states that llama.cpp has issued an update and links the pull request that carries it.
02How it works
Eight of the nine sit in GGUF file parsing. Integer overflows happen before a buffer is allocated, and unchecked copy lengths overflow heap buffers in the GEMMA4A audio, HunyuanVL vision and MiniCPM-V vision projector paths. Multimodal projector files also produce an out-of-bounds write and an out-of-bounds read. The ninth is a different class: llama-server frees its vocab object during the sleep transition and then keeps using it while handling an HTTP request.
03Who is affected
Anyone loading GGUF models from a source they do not control faces the parsing flaws, which require the user to open the file and score 5.5 to 7.8. Operators who run llama-server with an idle sleep timer face CVE-2026-131837, which needs no authentication and no user interaction.
04What to do
Update llama.cpp to a build that includes the nine linked fixes, among them pull request 32133 for the server use-after-free, merged on November 12, 2026. Until the update lands, keep llama-server off networks an attacker can reach.
Questions people ask
- Is llama.cpp patched against the November 2026 ZDI advisories?
- Yes. All nine llama.cpp advisories ZDI published on November 24, 2026 state that the project has issued an update, and each links the upstream pull request carrying the fix, ranging from 24091 to 32133. A build older than those commits stays exposed, so update to a release that contains them rather than treating the advisory date as the fix date.
- Which llama.cpp flaw works without a user opening a file?
- CVE-2026-131837, published as ZDI-26-1079, is the only one in the batch that needs no user interaction. The flaw is a use-after-free in server_context_impl, where llama-server destroys its vocab during the sleep transition and request handlers keep reading it. Its vector AV:N/AC:H/PR:N/UI:N lets an unauthenticated remote caller run code as the service account. Nicholas Zubrisky of TrendAI Research reported it.
- Which model files trigger the llama.cpp parsing flaws?
- GGUF files trigger eight of the nine llama.cpp flaws. The advisories name general GGUF parsing, multimodal projector files, and the GEMMA4A audio, HunyuanVL vision and MiniCPM-V vision projector paths. Two of those eight are denial of service at CVSS 5.5 and the rest reach code execution at CVSS 7.8. A downloaded model file is the attack vector in every one of them.
Sources 4 links, all fetched
- 1zerodayinitiative.comZDI-26-1079 Advisory
- 2zerodayinitiative.comZDI-26-1071 Advisory
- 3zerodayinitiative.comZDI-26-1074 Advisory
- 4github.comServer Fix PR 32133