← Back to search

CVE-2026-116816

7.8 HIGHpublic exploit available

Published 2026-10-27 · Updated 2026-10-31

AI risk analysis

Summary
A heap out-of-bounds write in llama.cpp's tokenizer for Plamo2 models allows attackers to corrupt memory by supplying malformed GGUF files with negative token IDs derived from invalid byte sequences like <0x-1>, potentially leading to crashes or arbitrary code execution.
Exploitability
Exploitation requires local access and user interaction to load a specially crafted GGUF model file, making it moderately difficult but feasible for an attacker with physical or remote session access.
Blast radius
Successful exploitation could lead to full compromise of the host running llama.cpp, including data theft, service disruption, or remote code execution if the process runs with elevated privileges.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to llama.cpp build b10261 or later, which contains the fix for the out-of-bounds write in llm_tokenizer_plamo2::build.
heap-overflowrcegguvtokenizer

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via crafted GGUF models. Attackers can supply BYTE-typed token text like <0x-1> whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-129

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.