Skip to content
HomeBriefFor youTrackersTopicsCompaniesGlossaryNewsletterSecurityHealth & medicineFinance & marketsRoboticsModels & researchPolicy & regulationEnterprise & businessDeveloper tools
Glossary

GGUF

The binary file format used by llama.cpp, Ollama and LM Studio to store quantised model weights, metadata and the chat template in one file designed to be loaded without executing code.

GGUF replaced the older GGML format in 2023 and became the default way to distribute models for local inference. Its safety property is that loading parses tensors and key-value metadata rather than deserialising code, unlike Python pickle files. In November 2026 Malspark documented two attacks that work within that design: appending an executable after the last tensor, where loaders do not look, and rewriting the embedded chat template so the model's own output instructs a user or agent to run it. Defences are to reject files with trailing bytes and to pin a reviewed template rather than the file's own.

← All terms

Get the brief in your inbox

One email every morning: the stories that mattered in AI, each with a one-line "why it matters" for your role. Free, no ads, unsubscribe any time.

Published daily by AI Briefing. We never share your address.
Like this? Get tomorrow's brief by email, free.