ungovernable.tech

[ DEEP DIVE ][ DECENTRALIZED COMPUTE ][ CONFIDENTIAL COMPUTING ]

Local AI Inference

Also local-ai-inference, Running Models Locally, On-Device Inference.

Running models on hardware you own, with no account, no cloud provider, and no network path for your prompts to travel. This is the bottom of the compute trust stack: the one option whose trust model contains no operator at all.

Usable updated 2026-11-16 19 min read
Contents

This library already covered confidential remote inference (Confidential-AI-Inference, Private LLM Inference Patterns) and rented compute (Akash, Phala and 0G, Marlin Oyster). It had no entry for the third option: a workstation, a laptop, a phone, or a Raspberry Pi doing the work itself. For the readership of ungovernable.tech this is not a niche — it is the option that survives an internet shutdown, that needs no KYC, and that cannot be subpoenaed because there is nothing to subpoena.

The trust model in one paragraph

Local inference collapses the trust chain to a single node: you trust your own hardware, your own operating system, and the files on your disk. There is no third party who sees prompts, no account that can be disabled, no provider whose logs can be subpoenaed, no per-token bill, and no dependency on a company's continued existence. Every property that requires trust in Confidential-AI-Inference — attestation, remote keys, confidential memory — becomes unnecessary rather than merely difficult. The trade is that you give up the frontier model, the fleet of accelerators, and the guarantee that somebody else patches the software.

What you do not get rid of:

  • The operator of the machine. If the laptop belongs to an employer, a school, a partner, or a partner's employer, the person with physical or administrative access to it still has your prompts, your transcripts, your model cache, and your conversation history.
  • The upstream model. Weights from a Hugging Face repository are files you did not write. Nobody signs a GGUF with a key your stack verifies, and no amount of local execution makes the weights trustworthy — only the code that reads them.
  • The parser. This is where local inference's risk actually lives. See the security section.

The stack: three projects, one lineage

Layer Project Role
Engine llama.cpp (ggml-org/llama.cpp) C/C++ inference for LLM and VLM models; the ggml tensor library underneath; llama-cli, llama-server, llama-quantize
Distribution Ollama (ollama/ollama) Model registry, one-command install and run, local HTTP API, MLX engine on Apple silicon
Speech whisper.cpp (ggml-org/whisper.cpp) C/C++ port of OpenAI's Whisper ASR; shares the ggml runtime
Format GGUF The container both the engine and the distribution layer read

All four are MIT licensed. llama.cpp had 135,214 stars and 25,654 forks at the time of writing, last pushed 2026-11-16T01:13Z; Ollama had 187,113 stars and 19,109 forks with 4,661 open issues, last pushed 2026-11-15T18:46Z; whisper.cpp had 55,223 stars, last pushed 2026-11-13T07:04Z. (gh api repos/..., 2026-11-16.)

llama.cpp v1.0.0 — the ABI promise lands

llama.cpp v1.0.0 was published 2026-11-13T10:20:19Z (commit b1b770d), with ggml v1.0.0 published the same morning at 08:34:21Z. The project's own post on Hugging Face ("llama.cpp v1.0.0 : A stronger foundation for the local AI ecosystem") frames it plainly: 3.5 years after inception, libllama and libggml now guarantee API and ABI incompatibilities only on major-version bumps, and the semantic-versioning rule is spelled out — MAJOR for a breaking change to the public C API in ./include, MINOR for backward-compatible features, PATCH for fixes.

That matters for anyone shipping local inference in a product: from v1.0.0 you can pin a version and know the ABI will not move under you. It also means the deprecated surface was removed rather than carried — llama_set_warmup, 35 deprecated functions, defrag_thold and --defrag-thold are gone; the NextN (speculative decoding) API was promoted out of llama-ext.h into llama.h; llama_set_embd_state_src was renamed llama_set_ctx_state_src; and llama_context_params gained moe_cache_size and moe_cache_cpu_share.

Feature work in the same release:

  • FP8 KV caches (-ctk/-ctv f8_e4m3) with optional static per-tensor scales.
  • A host-memory MoE expert cache with a configurable CPU share, LRFU/ClassLRU replacement, and no CPU wait on cached experts — this is what makes very large mixture-of-experts models runnable on a machine with one consumer GPU.
  • External PLE/engram loading from separate GGUF shards via --shard / --ple.
  • New architectures: Kimi-K3.1-Pro (K3 with full-attention MLA layers replaced by DSA), Ripple-65B-Preview (dense 65B, no new ops), and xing4_0 (mHC, MLA, MoE, MTP) — the project now supports more than 150 architecture variants and all mainstream speculative decoding methods.
  • Media: drama-3 TTS, MageVL-Cowork and Kimi-K3.1 vision, plus a new OpenAI-compatible /v1/audio/speech endpoint and a temperature option for /tts.
  • Windows unbuffered model load, mirroring the Linux DirectIO path.

The server in v1.0.0 also speaks an Anthropic Messages API alongside the OpenAI-compatible chat, responses and embeddings routes, and adds schema-constrained JSON output, reranking, parallel decoding with multi-user slots, and continuous batching. llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF and llama serve -hf <repo> fetch and run a model straight from Hugging Face, which is the shortest path from zero to a working local model.

Backend coverage is wide enough to matter for hardware you actually own: BLAS, BLIS, CANN (Huawei Ascend), CUDA, HIP, Hexagon (Snapdragon), IBM zDNN, MUSA (Moore Threads), Metal, OpenCL (Adreno), OpenVINO (in progress), RPC, SYCL, VirtGPU, Vulkan, WebGPU, ZenDNN — plus AVX/AVX2/AVX512/AMX on x86, NEON/Accelerate/Metal on Apple silicon, and RVV/ZVFH/ZICBOP on RISC-V. Quantization runs from 1.5-bit to 8-bit integer.

Ollama — the layer that makes it a product

v0.40.16 (published 2026-11-09T18:21:19Z) is the latest stable release; v0.40.17-rc0 (2026-11-10T22:25Z) is a pre-release. The v0.40.16 changes are worth reading as a usability trajectory: ollama launch claude always routes Claude Code to the selected model, ollama launch explains when a cloud model has been retired, /v1/responses respects truncation instead of silently truncating, /v1/models returns an empty list rather than null, Qwen3.8 Flash Next uses about 27 GiB less memory on Apple silicon, and there is CUDA 13.5 support for Windows on ARM. The rc adds concurrent generation under MLX and a Vulkan mmap path for integrated GPUs.

The scale claim comes from the project itself: the 2026-07-09 post "all aboard open models" states Ollama is serving 8.9 million developers and has raised $88M from Benchmark (Peter Fenton), Theory Ventures (Tomasz Tunguz), 8VC (Alex Kolicich), Solomon Hykes (founder of Docker), Aaron Katz (ClickHouse), Spencer Kimball (GIMP, Grafana), Quinn Slack (Amp), Marianna Tessel (Cisco), Michael Montano (former head of engineering at Twitter), Y Combinator, Garage Capital, Pace Capital, 49 Palms and GTMFund. The same post says Ollama is used by 85% of the Fortune 500 and that Ollama's cloud has more than doubled token volume every month on average. These are the company's claims, not independent measurements, and the reader should treat them as such — the direction is not in doubt, the numbers are marketing until verified.

The library index on ollama.com linked 270 distinct model pages when crawled on 2026-11-16 (the index is paginated, so that is a floor, not a total).

whisper.cpp — the speech branch

v1.9.5 was published 2026-10-06T17:39:17Z, described in its own release notes as a maintenance release updating to ggml v0.26.0; v1.9.4 followed v1.9.3 on 2026-09-11. The repository has taken more than 100 commits since 2026-10-06, so the project is active even between tagged releases.

The feature list is unusually complete for a "port": plain C/C++ with no dependencies, Apple Silicon as a first-class citizen (NEON, Accelerate, Metal, and Core ML on the Neural Engine — more than x3 faster than CPU-only execution), AVX on x86, VSX on POWER, mixed F16/F32, integer quantization, zero memory allocations at runtime, Vulkan, CPU-only inference, CUDA for NVIDIA, ROCm for AMD, AMD Ryzen AI NPU, OpenVINO, Huawei Ascend NPU, and Moore Threads GPU support. It builds for macOS, iOS, Android, Java, Linux and FreeBSD, WebAssembly, Windows (MSVC and MinGW), Raspberry Pi, and Docker.

The model table is published with sizes and SHA-1 digests, which is rare and useful:

Model Disk Note
tiny / tiny.en 75 MiB multilingual or English-only
base / base.en 142 MiB
small (+ small.en-tdrz) 466 MiB -tdrz = tinydiarize local speaker-turn marking
medium / medium.en 1.5 GiB
large-v1 / large-v2 / large-v3 2.9 GiB full precision
large-v2-q5_0 / large-v3-q5_0 1.1 GiB quantized
large-v3-turbo 1.5 GiB fastest large model
large-v3-turbo-q5_0 547 MiB the practical local default

Models are downloaded by models/download-ggml-model.sh from huggingface.co/ggerganov/whisper.cpp (the -tdrz diarization models come from akashmjn/tinydiarize-whisper.cpp). The script does not verify a checksum after download — the SHA-1 column in models/README.md is the reference to check against yourself if the model came from anywhere else. Voice Activity Detection is supported via --vad and requires a separate VAD model; the published ones are the Silero variants (ggml-silero-v5.1.2.bin, ggml-silero-v6.2.0.bin), last modified 2025-11-17.

Upstream openai/whisper remains the reference implementation: MIT licensed, 112,800 stars, last pushed 2026-08-31, still taking issue fixes in November 2026. Two operational facts from its README matter for planning: it requires ffmpeg on the system, and the turbo model is not trained for translation tasks — for speech translation you need one of the multilingual models (tiny, base, small, medium, large), because turbo returns the original language even when --task translate is specified.

GGUF — the format underneath

GGUF is the successor to GGML/GGMF/GGJT and is designed for three properties: single-file deployment (no sidecar config needed to load a model), extensibility (new metadata keys without breaking compatibility), and mmap compatibility for fast loading. Metadata is a key-value structure rather than an untyped list, so a file carries everything needed to load it. The naming convention is [<Sidecar>]<BaseName><SizeLabel><FineTune><Version><Encoding><Type><Shard>.gguf, with documented sidecars: mmproj for a multimodal projector, mtp for multi-token-prediction speculative-decoding heads.

Quantization is a two-phase operation — convert to GGUF (convert_hf_to_gguf.py --outtype bf16 --remote ...), then quantize (llama-quantize model.gguf model-Q4_K_M.gguf Q4_K_M). The tool's own documentation is honest about the cost: accuracy loss is measured in perplexity and Kullback-Leibler divergence, and can be minimised with a suitable imatrix file. The community maintains ggml-org/GGUF-my-repo on Hugging Face, which builds quants without local setup and syncs from llama.cpp main every six hours — a fast supply chain that is also a fast supply-chain attack surface.

The security section the marketing leaves out

Model files are untrusted parser input

This is the finding that matters most for this library, and it is structural rather than incidental. A GGUF file is a binary blob that you execute a parser against; that parser has had a run of memory-safety and logic bugs, several of them exploitable to code execution, all published as advisories against ggml-org/llama.cpp:

Advisory CVE Severity Published What it was Fixed in
GHSA-j8rj-fmpv-wcxw CVE-2026-34159 critical 2026-03-26 Unauthenticated RCE via the RPC backend: deserialize_tensor() skipped all bounds validation when a tensor's buffer field is 0, so a crafted GRAPH_COMPUTE message reads and writes arbitrary process memory. Combined with pointer leaks from ALLOC_BUFFER/BUFFER_GET_BASE this is a full ASLR bypass and remote code execution, with no authentication required, just TCP access to the RPC port. —
GHSA-96jg-mvhq-q7q7 CVE-2026-33298 high 2026-03-18 Integer overflow in ggml_nbytes() — a crafted GGUF with tensor dimensions ne = [1024, 1024, 2^42+1, 1] makes the size calculation wrap to ~4 MB, then heap-overflows on access. Potential RCE via memory corruption. b7824
GHSA-3p4r-fq3f-q74v CVE-2026-27940 high 2026-03-12 Heap buffer overflow via integer overflow in the mem_size calculation — a bypass of the earlier CVE-2025-53630 fix. >= b8146
GHSA-vgg9-87g3-85w8 CVE-2025-53630 high 2025-07-10 Integer overflow in the GGUF parser leading to heap out-of-bounds read/write. 26a48ad
GHSA-8wwf-w4qm-gpqr CVE-2025-49847 high 2025-06-14 Buffer overflow via a malicious GGUF model, exploitable through vocabulary loading (llama_vocab::impl::token_to_piece). >= b5662
GHSA-8947-pfff-2f3c CVE-2026-21869 low 2026-01-05 Out-of-bounds write in llama-server. >= c78fb90

The pattern across those six advisories is consistent: the attack arrives as a file you were told to download. "Malicious GGUF model" is not a hypothetical category; it is the named subject of a high-severity advisory. A model file from an untrusted mirror, a random Hugging Face repository, or a message attachment is equivalent to running an executable.

Two mitigations follow from the structure rather than from any specific CVE. First, prefer GGUF to pickled checkpoints — see the next section for why. Second, treat the model directory as a code directory: verify digests out of band, do not auto-download models from links that arrive in chat or email, and run the inference process with the minimum privilege that can still read the model.

The RPC backend is explicitly not production-safe

tools/rpc/README.md carries a warning that should be quoted rather than paraphrased: the RPC backend is "currently in a proof-of-concept development stage. As such, the functionality is fragile and insecure. Never run the RPC server on an open network or in a sensitive environment!" It exists to offload computation to remote ggml devices, distributing model weights and KV cache across machines in proportion to available memory, with an optional local tensor cache (-c) to avoid re-transferring large tensors.

That warning is consistent with the CVE-2026-34159 advisory, whose proof of concept was tested against rpc-server in Docker and reached root in the container. The RPC server binds 127.0.0.1:50052 by default, which is the only reason this is survivable: the attack needs TCP reachability and there is no authentication layer at all.

Exposing a local server to a network

Both servers default to loopback — llama-server to 127.0.0.1:9931, Ollama to 127.0.0.1:11434 — and both stay useful that way, because a local inference server is normally driven by a local client. The failure modes appear the moment someone sets OLLAMA_HOST=0.0.0.0:11434 or passes --host to llama-server.

The llama-server defaults deserve to be read closely, because several of them are unsafe in combination:

  • --api-key defaults to none; --api-key-file also defaults to none.
  • --cors-origins defaults to *, and --cors-credentials is enabled by default — the documentation states that in that configuration the Origin header is echoed back and credentials are always allowed. A browser on the same machine can therefore drive your local model.
  • --tools defaults to no tools, but when enabled it exposes read_file, file_glob_search, grep_search, exec_shell_command, write_file, edit_file and get_info. Enabling --tools or --agent is enabling shell execution and file write on that host.
  • --allow-unauthenticated-tools allows tools, MCP servers or the MCP proxy on a non-loopback address without an API key — it is off by default and the documentation says "only for trusted networks".
  • The MCP proxy (--ui-mcp-proxy) refuses local and private addresses by default, and --mcp-servers-config / --mcp-servers-json default to none; a configured MCP child process runs with the same privileges as the server.
  • --slots monitoring is enabled by default.

v1.0.0 hardened a cluster of related issues and added opt-ins: --allow-unauthenticated-tools and --media-allow-private-urls are explicit opt-ins; the release fixed --cors-origins handling, DNS rebinding, CORS proxy SSRF, and child instance access from the browser; it restricted HF_TOKEN to huggingface.co hosts; and it cancels MCP tool calls on client disconnect or timeout and notifies the MCP server. That is a real improvement, but the default posture of "no API key, cors-origins = *, credentials enabled" remains the thing to fix before binding anything but loopback.

Ollama's equivalents: OLLAMA_HOST sets the bind address; OLLAMA_ORIGINS sets the allowed origins (the built-in defaults already cover localhost, 127.0.0.1 and 0.0.0.0 over http and https on any port, plus app://*, file://* and tauri://*); and the public key that identifies a local installation to ollama.com lives at ~/.ollama/id_ed25519.pub on macOS, /usr/share/ollama/.ollama/id_ed25519.pub on Linux and C:\Users\<username>\.ollama\id_ed25519.pub on Windows.

Cloud features are a network feature, and they can be switched off

The local FAQ is explicit: "Ollama runs locally. We don't see your prompts or data when you run locally." Cloud models are a different arrangement — the Cloud FAQ states a zero data retention (ZDR) policy with prompts processed transiently and never used for training, but Ollama still collects "basic account information and limited usage metadata".

For the strict local posture, the switch exists: put {"disable_ollama_cloud": true} in ~/.ollama/server.json or set OLLAMA_NO_CLOUD=1. That removes access to Ollama's cloud models and to web search — which is the point. Also note ollama signin: it registers the installation's ed25519 public key with ollama.com and is what allows pushing models, pulling private models, or running cloud-hosted models through your local install. Not signing in, and setting OLLAMA_NO_CLOUD=1, is the configuration that keeps the box genuinely offline.

Pickle: the format to stay away from

Hugging Face's own pickle-scanning documentation states the risk in plain terms: pickle "allows much more flexibility than we would like, allowing python code to be run at deserialization time" — and the default format for PyTorch model weights is pickle. The recommended mitigations are to load models only from users and organizations you trust, to rely on signed commits, or to use the from_tf=True auto-conversion path; the Hub also displays and "vets" the import list inside pickled files.

Practical reading: a .gguf you converted yourself, or a GGUF from a reputable publisher, avoids the pickle execution path entirely — and GGUF still has its own parser bugs, as the six advisories above show. The distinction is not "safe" versus "unsafe"; it is "a format with a 2023-style memory-safety bug surface" versus "a format that executes arbitrary code by design when deserialized".

Trade-offs

Choice Gain Cost
Run locally instead of a hosted API No operator sees prompts; no account, no KYC, no per-token bill; works with the network down; no provider can be subpoenaed or go bankrupt You own the hardware, the power, and the patching
Quantize weights to fit consumer hardware 4-bit and 5-bit variants put frontier-class models in 6–24 GB of RAM; q5_0 large-v3-turbo is 547 MiB for speech Measured perplexity and KL divergence rise; imatrix files reduce the loss
Use llama.cpp directly Full control of flags, backends and server surface; no daemon, no registry account; deterministic builds You compile it, or you trust a third-party binary
Use Ollama One-command install, model management, a stable local API, MLX acceleration on Apple silicon, and Claude Code / Codex / Claude Desktop integration A daemon, a registry account, an updater, and a cloud feature set that can be switched on
Use llama-server's OpenAI and Anthropic-compatible routes Existing clients work unchanged against a local model; no vendor API key The server is an unauthenticated HTTP service by default; --tools turns it into remote code execution
Use whisper.cpp for ASR instead of a cloud transcriber Interviews and field recordings never leave the device; runs on a Pi; WebAssembly and iOS builds exist Requires ffmpeg for the reference implementation; turbo cannot translate; downloads are not checksum-verified by the helper script
Keep the model files on the machine Repeat inference is free and offline Model weights, chat logs and caches are evidence on the disk — relevant to Device Seizure and Border Crossings and Duress and Plausible Deniability
Accept a weaker model Zero trust in the provider Lower quality on hard reasoning, coding and multilingual tasks than the frontier API

Where this sits against the rest of this library

The stack in Overview - Confidential Computing has three tiers, and local inference belongs at the bottom of the list, not beside the others. The Quick Reference table in that folder already names the category: "Absolute minimum trust | On-device inference — no TEE needed". This note is the reference implementation of that row.

  • Against a centralized API (Confidential-AI-Inference covers the TEE-remote middle): local wins on trust and cost, loses on model quality and hardware. There is no attestation problem to solve because there is no counterparty to attest to.
  • Against rented compute (Akash, Phala and 0G, Marlin Oyster, Aethir): the two are complements, not substitutes. Renting a GPU makes a frontier model reachable; owning the hardware makes the same class of model reachable for a one-off, offline, or hostile-jurisdiction task. The decentralized marketplaces exist for capacity you cannot buy; local inference exists for capacity you must not rent.
  • Against censorship and shutdown (Modern Anti-DPI Protocols, Reticulum in Practice, LoRa Mesh Field Guide): a local model needs no origin to reach, so it is the last service standing when the rest of the stack is blocked. This is the operational argument that matters most to the readers of this library.
  • Against a TEE with attestation: the trade is explicit in this library's own threat-model tables — a TEE is a remote party whose honesty you verify cryptographically; a local model is no party at all. The reason to still prefer the TEE is that you may need a model far larger than your hardware.

Practical checklist

  1. Pin the engine. Build from source at a tagged release, or use the distribution packages the project publishes (Debian, Homebrew, conda-forge, MacPorts, Winget, Docker, XCFramework). From v1.0.0 onward the ABI only moves on a major bump — use that.
  2. Verify the model, not the download. Compare the SHA-1 of a GGUF against a digest you obtained out of band (whisper.cpp publishes them for every model); for Ollama, the registry manifests carry digests per layer.
  3. Never expose a local server without a key. Set --api-key or --api-key-file on llama-server; restrict --cors-origins to localhost instead of *; leave --tools, --agent and the MCP proxy off unless you understand what they enable; keep the bind address on loopback.
  4. Never expose the RPC backend. It is a proof of concept with a critical unauthenticated RCE (CVE-2026-34159) in its history. If you need distributed inference, tunnel it.
  5. Turn the cloud features off with OLLAMA_NO_CLOUD=1 (or disable_ollama_cloud in server.json) if the box is meant to be offline, and do not ollama signin on it.
  6. Watch the advisory feed. The parser bugs arrive with new architectures and new quantization types, which is exactly when the file format also changes.
  7. Plan for the disk. Model weights, GGUF conversions, chat history and the Ollama model directory are all evidence. See Device Seizure and Border Crossings and Duress and Plausible Deniability.
  8. For speech, use whisper.cpp for privacy and the upstream README for capability. Install ffmpeg for the reference implementation; remember that turbo cannot translate and that the model download helper does not check checksums.

Evidence at a glance

Item Source Date What it supports
llama.cpp v1.0.0 published; commit b1b770d GitHub releases API, ggml-org/llama.cpp 2026-11-13 Current engine release and its date
ggml v1.0.0 published GitHub releases API, ggml-org/ggml 2026-11-13 Tensor-library release
API/ABI only break on major bumps; 3.5 years since inception; >150 architecture variants "llama.cpp v1.0.0", huggingface.co/blog/ggml-org/llama-cpp-v1 2026-11 Stability guarantee and coverage claim
Deprecated API removed (35 functions), NextN promoted, FP8 KV cache, MoE host-memory cache, external PLE shards llama.cpp v1.0.0 release notes 2026-11-13 Feature set of the current release
Server hardening: --allow-unauthenticated-tools, --media-allow-private-urls, CORS/DNS-rebinding/SSRF fixes, HF_TOKEN restricted to huggingface.co, MCP tool cancellation llama.cpp v1.0.0 release notes 2026-11-13 Security posture of the server
Server defaults: host 127.0.0.1, port 9931, no --api-key, --cors-origins * with credentials enabled, tools off by default tools/server/README.md current Exposure analysis
llama.cpp stars 135,214 / forks 25,654; pushed 2026-11-16T01:13Z gh api repos/ggml-org/llama.cpp 2026-11-16 Project activity
Ollama v0.40.16 stable; v0.40.17-rc0 pre-release GitHub releases API, ollama/ollama 2026-11-09 / 2026-11-10 Current distribution release
Ollama default bind 127.0.0.1:11434; OLLAMA_HOST, OLLAMA_ORIGINS defaults envconfig/config.go current Exposure analysis
Local runs send no prompts to ollama.com; OLLAMA_NO_CLOUD=1 / disable_ollama_cloud; public-key paths docs.ollama.com FAQ; Cloud FAQ current Privacy posture and offline switch
Cloud models: zero data retention, no training, account info and usage metadata still collected docs.ollama.com/cloud/faq current Scope of cloud telemetry
8.9M developers, $88M raised, 85% of Fortune 500 "all aboard open models", ollama.com/blog 2026-07-09 Scale claims (company's own)
Ollama library index: 270 distinct model pages ollama.com/library crawl 2026-11-16 Catalog breadth (a floor — index is paginated)
whisper.cpp v1.9.5, maintenance release to ggml v0.26.0; 55,223 stars; pushed 2026-11-13 GitHub releases API, ggml-org/whisper.cpp 2026-10-06 Speech branch release
Model sizes and SHA-1 digests; large-v3-turbo-q5_0 at 547 MiB; -tdrz diarization models/README.md current Sizing and verification reference
Download script pulls from huggingface.co/ggerganov/whisper.cpp and does not verify a checksum models/download-ggml-model.sh current Supply-chain caveat
Core ML on ANE more than x3 faster than CPU-only; WebAssembly, Raspberry Pi, Docker builds whisper.cpp README current Deployment surface
openai/whisper MIT, 112,800 stars, pushed 2026-08-31; needs ffmpeg; turbo not trained for translation openai/whisper README and repo API 2026-11 Upstream reference implementation facts
CVE-2026-34159 critical: unauthenticated RCE in the RPC backend via GRAPH_COMPUTE with buffer=0; no auth, TCP access only GHSA-j8rj-fmpv-wcxw advisory 2026-03-26 Worst-case attack surface
CVE-2026-33298 high: integer overflow in ggml_nbytes, crafted GGUF, heap overflow, potential RCE (fixed b7824) GHSA-96jg-mvhq-q7q7 2026-03-18 Model file as attack vector
CVE-2026-27940 high: mem_size overflow bypass of the CVE-2025-53630 fix (fixed >= b8146) GHSA-3p4r-fq3f-q74v 2026-03-12 Fix-bypass pattern
CVE-2025-53630 / CVE-2025-49847 high: GGUF parser overflow; malicious GGUF via vocab loading GHSA-vgg9-87g3-85w8, GHSA-8wwf-w4qm-gpqr 2025-07-10, 2025-06-14 Historical parser bug rate
RPC backend is proof-of-concept, fragile and insecure; never run on an open network tools/rpc/README.md current Upstream's own warning
Pickle executes Python on deserialization; trust-the-publisher, signed commits, safetensors Hugging Face Hub docs, "Pickle Scanning" current Why GGUF beats pickled checkpoints
GGUF single-file, extensible, mmap; sidecars mmproj and mtp; naming convention ggml docs/gguf.md current Format properties
Quantization measured in perplexity and KL divergence; imatrix reduces loss; GGUF-my-repo syncs from main every 6 hours tools/quantize/README.md current Quality cost and supply chain

Primary sources

  • llama.cpp v1.0.0 release notes and assets — github.com/ggml-org/llama.cpp/releases/tag/v1.0.0.
  • ggml v1.0.0 release — github.com/ggml-org/ggml/releases/tag/v1.0.0.
  • "llama.cpp v1.0.0 : A stronger foundation for the local AI ecosystem" — huggingface.co/blog/ggml-org/llama-cpp-v1.
  • llama.cpp server documentation — tools/server/README.md in the ggml-org/llama.cpp repository.
  • llama.cpp RPC documentation and warning — tools/rpc/README.md.
  • llama.cpp quantization documentation — tools/quantize/README.md.
  • GGUF specification — docs/gguf.md in the ggml-org/ggml repository.
  • Ollama v0.40.16 / v0.40.17-rc0 release notes — github.com/ollama/ollama/releases.
  • Ollama documentation: FAQ, Cloud FAQ, and envconfig/config.go — github.com/ollama/ollama.
  • "all aboard open models" — ollama.com/blog/all-aboard-open-models (2026-07-09).
  • whisper.cpp v1.9.5 release, models/README.md, models/download-ggml-model.sh, README — github.com/ggml-org/whisper.cpp.
  • OpenAI Whisper README and repository — github.com/openai/whisper.
  • GitHub Security Advisories GHSA-j8rj-fmpv-wcxw, GHSA-96jg-mvhq-q7q7, GHSA-3p4r-fq3f-q74v, GHSA-vgg9-87g3-85w8, GHSA-8wwf-w4qm-gpqr, GHSA-8947-pfff-2f3c.
  • Hugging Face Hub documentation, "Pickle Scanning" — huggingface.co/docs/hub/security-pickle.

Also in Confidential Computing

Page history

Updated
2026-11-16
Origin
Compiled from the ungovernable.tech research notes.
Improve this page
Suggest an edit — issues and pull requests are welcome.