CVE-2026-10298
Deferred Deferred - Pending Action
Null Pointer Dereference in Whisper.cpp

Publication date: 2026-06-01

Last updated on: 2026-06-01

Assigner: VulDB

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-01
Last Modified
2026-06-01
Generated
2026-06-22
AI Q&A
2026-06-02
EPSS Evaluated
2026-06-21
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
ggml-org whisper.cpp to 1.8.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-404 The product does not release or incorrectly releases a resource before it is made available for re-use.
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The vulnerability in whisper.cpp causes a local null pointer dereference leading to application crashes but does not involve unauthorized data access, data leakage, or modification.

Since the issue requires local access and results in denial of service rather than data compromise, it has limited direct impact on compliance with data protection regulations such as GDPR or HIPAA.

However, any denial of service or instability in systems processing sensitive data could indirectly affect compliance by disrupting availability requirements.

Executive Summary

This vulnerability is a security flaw found in the ggml-org whisper.cpp project, specifically affecting the function whisper_model_load in the file ggml/src/ggml.c. The flaw causes a null pointer dereference, which means the program attempts to access or manipulate memory through a pointer that is not properly initialized or is set to null.

Exploitation of this vulnerability requires local access to the system, and the exploit code has been publicly released, making it possible for attackers with local access to trigger this flaw.

Impact Analysis

The impact of this vulnerability is limited to causing a denial of service condition through a null pointer dereference. This means that an attacker with local access could cause the affected application to crash or become unavailable.

There is no indication that this vulnerability leads to information disclosure, privilege escalation, or other more severe impacts.

Detection Guidance

This vulnerability can be detected by attempting to load a specially crafted model file that triggers the null pointer dereference in the whisper_model_load function. The issue arises when model hyperparameters are zero or invalid, specifically when n_audio_state = 0 and n_audio_layer > 0, causing the program to crash.

To detect the vulnerability, you can test the whisper.cpp application by loading a proof-of-concept (PoC) model file designed to trigger the crash. Monitoring for crashes or assertion failures during model loading indicates the presence of the vulnerability.

There are no specific network commands since the attack requires local access and is triggered by loading a malicious model file locally.

Suggested commands include running the whisper-cli tool with the crafted PoC model file to observe if the application crashes or aborts:

  • whisper-cli --model crafted_poc_model.bin --input sample_audio.wav

If the application crashes or shows assertion failures during this operation, it indicates the vulnerability is present.

Mitigation Strategies

Immediate mitigation steps include avoiding loading untrusted or crafted model files that could exploit the vulnerability.

Since the vulnerability requires local access and is triggered by loading malicious model files, restricting access to the whisper.cpp application and its model files to trusted users only is critical.

Another important step is to monitor for updates or patches from the ggml-org whisper.cpp project that implement proper validation of model hyperparameters before tensor allocation.

Until a fix is released, users should validate model files manually or through custom scripts to ensure hyperparameters are positive and non-zero before loading them.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-10298. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart