Database/AI/ML frameworks & serving

llama.cpp: integer overflow in hrm_text GGUF loader allows heap write past model layers
Impact
A crafted GGUF model file sets layer factors that wrap modulo 2^32, which defeats the block count check in load_arch_hparams(). load_arch_tensors() then writes tensor pointers past the end of model.layers and corrupts heap memory. The record says this can potentially lead to code execution in the process that loads the model. On a shared inference fleet, if tenants or users can supply their own GGUF files to a llama.cpp-based server, a malicious model could run code in the serving process on the GPU node. The flaw is limited to the hrm_text architecture loader in builds b11003 through b12555.
Who can reach it
Anyone who can get a crafted GGUF model loaded by llama.cpp: a user who uploads or points the server at a model file, or an operator who pulls an untrusted model. No authentication to llama.cpp itself is needed, but someone has to load the file (CVSS AV:L, UI:P).
What to do
Upgrade llama.cpp to release b12556 or later, which adds the overflow check, and restart every server process that loads models. Tools that bundle their own copy of llama.cpp need a rebuild or a vendor update that includes the fix; the record does not list which downstream products are affected. Until you have patched, load GGUF models only from trusted sources.
References
Related entries
- Qdrant (`/logger`): Append to arbitrary files via the logger endpointCVE-2026-25628 · Qdrant (`/logger`)High
- llama.cpp: malloc/delete mismatch in the Android JNI batch wrapper corrupts the heapCVE-2026-43622 · llama.cpp LLaMA-Android JNI wrapper (new_1batch/free_1batch)High
- llama.cpp llama-server: crafted sampler parameter triggers out-of-bounds read and unauthenticated crashCVE-2026-43628 · llama.cpp llama-server (DRY sampler, /v1/completions and /v1/chat/completions)High
- Open WebUI: SSRF via HTTP redirects bypasses private-IP and metadata block listCVE-2026-45401 · Open WebUI (retrieval web loader, validate_url redirect handling)High
- NVIDIA OpenShell Sandbox: path traversal bypasses L7 REST network policy, exposing blocked endpointsCVE-2026-65092 · NVIDIA OpenShell Sandbox for Linux (L7 REST network policy enforcement)High
- llama.cpp: integer overflow in new_1batch undersizes the batch allocationCVE-2026-70638 · llama.cpp LLaMA-Android JNI wrapper (new_1batch n_seq_max sizing)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.