Skip to main content
Vulnerability Database/CVE-2026-110810

CVE-2026-110810: whisper.cpp Buffer Overflow Vulnerability

CVE-2026-110810 is a buffer overflow flaw in whisper.cpp that causes out-of-bounds read in the Model Loader component. Attackers can exploit this locally through manipulated model files. This article covers technical details, affected versions up to 1.9.4, security impact, and mitigation through upgrading to version 1.9.5.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-110810 Overview

CVE-2026-110810 is an out-of-bounds read vulnerability in ggml-org/whisper.cpp versions up to and including 1.9.4. The flaw resides in the whisper_model_load function within src/whisper.cpp, part of the Model Loader component. Manipulation of the ttype argument during model file parsing triggers the out-of-bounds read. Exploitation requires local access and user interaction to load a crafted model file. The vendor responded promptly and released version 1.9.5 containing the fix identified by commit 60c0be6ac8fa71b1a2ae2dd938a31a34a508e774. A public exploit disclosure exists, though real-world exploitation potential remains limited by the local attack vector.

Critical Impact

Local attackers who can supply a malicious whisper.cpp model file can trigger an out-of-bounds memory read in the Model Loader, potentially causing process crashes or limited information disclosure.

Affected Products

  • ggml-org whisper.cpp versions up to and including 1.9.4
  • The whisper_model_load function in src/whisper.cpp
  • The parakeet model loader in src/parakeet.cpp (patched in the same commit)

Discovery Timeline

  • 2026-10-15 - CVE-2026-110810 published to the National Vulnerability Database (NVD)
  • 2026-10-15 - Last updated in NVD database

Technical Details for CVE-2026-110810

Vulnerability Analysis

The vulnerability is classified under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer), specifically manifesting as an out-of-bounds read. During model file parsing, whisper_model_load reads a ttype value from the model file and uses it to index into a tensor type table without validating the range. A malicious model file supplying an attacker-controlled ttype value causes the loader to read memory outside the intended buffer bounds. The impact is bound to the loading process, resulting in potential crashes or small-scale memory disclosure rather than code execution. Because the attack vector is local and requires the victim to open a crafted model file, exploitation hinges on social engineering or supply-chain delivery of a tampered model.

Root Cause

The root cause is missing input validation on the ttype field deserialized from the model file. The loader trusts the on-disk value and uses it as an index without checking that it falls within the valid GGML_TYPE_COUNT range.

Attack Vector

An attacker crafts a whisper.cpp model file containing an out-of-range ttype value and distributes it to a target. When the victim loads the model using an unpatched whisper.cpp build, whisper_model_load performs the unchecked read and triggers the out-of-bounds access.

cpp
// Security patch in src/whisper.cpp - adds ttype range validation
                  return false;
              }
 
+            if (ttype < 0 || ttype >= GGML_TYPE_COUNT) {
+                WHISPER_LOG_ERROR("%s: invalid ttype %d in model file (expected 0 <= ttype < %d)\n", __func__, ttype, GGML_TYPE_COUNT);
+                return false;
+            }
 
             int32_t nelements = 1;
             int32_t ne[4] = { 1, 1, 1, 1 };
// Source: https://github.com/ggml-org/whisper.cpp/commit/60c0be6ac8fa71b1a2ae2dd938a31a34a508e774

Detection Methods for CVE-2026-110810

Indicators of Compromise

  • Unexpected crashes or abnormal termination of processes linking against whisper.cpp when loading a model file.
  • Presence of whisper.cpp model files (.bin, .gguf) obtained from untrusted sources or distributed outside official release channels.
  • Error log entries containing invalid ttype messages originating from whisper_model_load after upgrade to a patched build.

Detection Strategies

  • Inventory all applications and development environments embedding ggml-org/whisper.cpp and verify the linked version is 1.9.5 or later.
  • Hash and compare locally stored whisper models against known-good hashes published by the model provider.
  • Monitor host telemetry for repeated crashes of processes that load whisper.cpp models, which may indicate exploitation attempts.

Monitoring Recommendations

  • Enable application crash reporting on systems running whisper.cpp-based transcription tools and forward reports to a centralized log platform.
  • Audit file-write and download events for .bin and .gguf model files landing on developer workstations and inference hosts.
  • Track software bill of materials (SBOM) data for whisper.cpp dependencies across build pipelines to identify unpatched components.

How to Mitigate CVE-2026-110810

Immediate Actions Required

  • Upgrade ggml-org/whisper.cpp to version 1.9.5 or later across all applications, build pipelines, and container images.
  • Rebuild and redeploy any downstream software that statically links or vendors whisper.cpp source.
  • Restrict model file sources to trusted, signed, or verified distributions and remove untrusted models from shared storage.

Patch Information

The fix is included in whisper.cpp v1.9.5 and tracked by commit 60c0be6ac8fa71b1a2ae2dd938a31a34a508e774. The patch adds explicit range validation of the ttype field in both src/whisper.cpp and src/parakeet.cpp, rejecting any value outside [0, GGML_TYPE_COUNT). See the GitHub Release v1.9.5 and the upstream patch commit.

Workarounds

  • If upgrading is not immediately possible, process whisper.cpp model files only from trusted first-party sources.
  • Run whisper.cpp-based inference in a sandboxed or least-privileged process to contain the impact of a crash or memory read.
  • Apply the two-line ttype range check from the upstream patch as a local build modification until a full upgrade is scheduled.
bash
# Verify installed whisper.cpp version and upgrade from source
git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
git checkout v1.9.5
make clean && make

# Confirm patch commit is present
git log --oneline | grep 60c0be6

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.