ggml-org llama.cpp Pocket-TTS pockettts-gen.cpp list_pockettts_state_slots out-of-bounds write
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 12
- llama.cppaffected: 0.4.0CVE List
- llama.cppaffected: 0.17.1CVE List
- llama.cppaffected: 55abc39CVE List
- llama.cppaffected: 55d4206c8CVE List
- llama.cppaffected: b5693CVE List
- llama.cppaffected: b7445CVE List
- llama.cppaffected: b7824CVE List
- llama.cppaffected: b8492CVE List
- llama.cppaffected: b8585CVE List
- llama.cppaffected: b9058CVE List
- llama.cppaffected: b9060CVE List
- llama.cppunaffected: b11796CVE List
References 10
- github.com/ggml-org/llama.cpp/pull/30902Fixvia CVE List
- github.com/ggml-org/llama.cpp/commit/0a1ef309cdbb9f2024f58a38fb4c42352c5db569Fixvia CVE List
- github.com/ggml-org/llama.cpp/releases/tag/b11796Fixvia CVE List
- vuldb.com/cve/CVE-2026-116096Advisoryvia CVE List
- vuldb.com/submit/1000891Advisoryvia CVE List
- github.com/3em0/cve_repo/tree/main/2026/llama.cpp.pockettts_state_heap_oob_rceExploitvia CVE List
- github.com/3em0/cve_repo/tree/main/2026/llama.cpp.pockettts_state_heap_oob_rce/pocExploitvia CVE List
- vuldb.com/vuln/426164Referencevia CVE List
- vuldb.com/vuln/426164/ctiReferencevia CVE List
- github.com/ggml-org/llama.cpp/Referencevia CVE List