| Component | llama.cpp |
| Severity | medium (CVSS 5.3) |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Published (NVD) | 2026-10-25 |
| Affected versions | < b11796 read from the advisory text: no structured source gives these versions yet |
| Fixed in | b11796 |
| Weakness | CWE-119CWE-787 |
| CISA KEV | not listed |
NVD description
A weakness has been identified in ggml-org llama.cpp. Affected by this issue is the function list_pockettts_state_slots of the file tools/mtmd/models/pockettts-gen.cpp of the component Pocket-TTS. This manipulation of the argument mmproj causes out-of-bounds write. The attack requires local access. The exploit has been made available to the public and could be used for attacks. Upgrading to version b11796 can resolve this issue. Patch name: 0a1ef309cdbb9f2024f58a38fb4c42352c5db569. The affected component should be upgraded. The reported heap out‑of‑bounds write (gen‑audio / pocket‑tts state_out path) is no longer a silent exploitable heap write on current master and the latest release b11871 - a malicious mmproj that previously triggered it now trips a release‑active GGML_ASSERT and aborts. But the submitter's recommended by‑construction fix (PR #29360 "prevent OOB accesses from malformed mmproj files") is still open. So the root cause is detected‑and‑aborted, not prevented‑by‑design.
What to do
- Upgrade llama.cpp to
b11796or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-116096
- https://github.com/3em0/cve_repo/tree/main/2026/llama.cpp.pockettts_state_heap_oob_rce
- https://github.com/3em0/cve_repo/tree/main/2026/llama.cpp.pockettts_state_heap_oob_rce/poc
- https://github.com/ggml-org/llama.cpp/
- https://github.com/ggml-org/llama.cpp/commit/0a1ef309cdbb9f2024f58a38fb4c42352c5db569
- https://github.com/ggml-org/llama.cpp/pull/30902
- https://github.com/ggml-org/llama.cpp/releases/tag/b11796
- https://vuldb.com/cve/CVE-2026-116096
- https://vuldb.com/submit/1000891
- https://vuldb.com/vuln/426164
- https://vuldb.com/vuln/426164/cti