CVE-2026-10298

ggml-org whisper.cpp ggml.c whisper_model_load null pointer dereference

Published Jun 1, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
A security flaw has been discovered in ggml-org whisper.cpp up to 1.8.2. This vulnerability affects the function whisper_model_load of the file ggml/src/ggml.c. The manipulation results in null pointer dereference. Attacking locally is a requirement. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

The flaw resides in the whisper_model_load function of ggml.cpp, where input handling fails to check for a null pointer. If an attacker can control the contents of a model file, the function will dereference a null pointer and cause the process to terminate. This error is classified as a null pointer dereference (CWE-476) and a missing resources error (CWE-404).

Affected Systems

The vulnerability affects the ggml‑org Whisper.cpp project, specifically any release up to and including version 1.8.2. Users compiling and running Whisper.cpp in environments that load user‑supplied model files are exposed.

Risk and Exploitability

The official CVSS score is 4.8, indicating a medium impact and local attacker requirement. No EPSS data is available, and the vulnerability is not in the CISA KEV catalog. Because the attacker must be able to run code locally and the exploit code has already been released publicly, the primary risk is denial of service through application crash rather than remote compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version of Whisper.cpp that includes the null‑pointer check for model loading.
  • If an upgrade is not yet available, restrict the execution of Whisper.cpp to a sandboxed environment or use the least privileged user possible.
  • Monitor application logs and system metrics for abnormal termination events that may indicate exploitation attempts.

Generated by OpenCVE AI on June 2, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ggml
Ggml whisper.cpp
Vendors & Products Ggml
Ggml whisper.cpp
Type Values Removed Values Added
Description A security flaw has been discovered in ggml-org whisper.cpp up to 1.8.2. This vulnerability affects the function whisper_model_load of the file ggml/src/ggml.c. The manipulation results in null pointer dereference. Attacking locally is a requirement. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Title ggml-org whisper.cpp ggml.c whisper_model_load null pointer dereference
First Time appeared Ggml-org
Ggml-org whisper.cpp
Weaknesses CWE-404
CWE-476
CPEs cpe:2.3:a:ggml-org:whisper.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggml-org
Ggml-org whisper.cpp
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-404

    Improper Resource Shutdown or Release

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 2, 2026, 3:45 PM
Reserved
May 31, 2026, 6:04 PM
Status
Deferred
Published
Jun 1, 2026, 11:16 PM
Modified
Jul 22, 2026, 6:10 PM