---
id: CVE-2026-116096
title: >-
  ggml-org llama.cpp Pocket-TTS pockettts-gen.cpp list_pockettts_state_slots
  out-of-bounds write
summary: >-
  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…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'
cvssSource: cna
cwe:
  - CWE-787
  - CWE-119
vendor: ggml-org
product: llama.cpp
affected:
  - llama.cpp 0.4.0
  - llama.cpp 0.17.1
  - llama.cpp 55abc39
  - llama.cpp 55d4206c8
  - llama.cpp b5693
  - llama.cpp b7445
  - llama.cpp b7824
  - llama.cpp b8492
  - llama.cpp b8585
  - llama.cpp b9058
  - llama.cpp b9060
published: '2026-10-25'
updated: '2026-10-25'
sourceUpdated: '2026-10-25T23:00:24.282Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116096'
references:
  - url: 'https://vuldb.com/vuln/426164'
    label: >-
      VDB-426164 | ggml-org llama.cpp Pocket-TTS pockettts-gen.cpp
      list_pockettts_state_slots out-of-bounds write
  - url: 'https://vuldb.com/vuln/426164/cti'
    label: 'VDB-426164 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-116096'
    label: CVE-2026-116096 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1000891'
    label: "Submit #1000891 | ggml-org xxxxxxxxxx\_llama.cpp up to main commit 8212c7802455255460ab8e18fc34754560031b34 (latest release b11160, 2026-09-24) Out-of-Bounds Write (CWE-787)"
  - url: >-
      https://github.com/3em0/cve_repo/tree/main/2026/llama.cpp.pockettts_state_heap_oob_rce
  - url: 'https://github.com/ggml-org/llama.cpp/pull/30902'
  - url: >-
      https://github.com/3em0/cve_repo/tree/main/2026/llama.cpp.pockettts_state_heap_oob_rce/poc
  - url: >-
      https://github.com/ggml-org/llama.cpp/commit/0a1ef309cdbb9f2024f58a38fb4c42352c5db569
  - url: 'https://github.com/ggml-org/llama.cpp/releases/tag/b11796'
  - url: 'https://github.com/ggml-org/llama.cpp/'
tags:
  - cve.org
ingestedAt: '2026-10-26T00:11:48.361Z'
---

## Overview

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.

## Affected

- `llama.cpp 0.4.0`
- `llama.cpp 0.17.1`
- `llama.cpp 55abc39`
- `llama.cpp 55d4206c8`
- `llama.cpp b5693`
- `llama.cpp b7445`
- `llama.cpp b7824`
- `llama.cpp b8492`
- `llama.cpp b8585`
- `llama.cpp b9058`
- `llama.cpp b9060`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
