CVE-2026-17512
Received Received - Intake

Out-of-Bounds Read in Whisper.cpp via log_mel_spectrogram

Vulnerability report for CVE-2026-17512, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-27

Last updated on: 2026-07-27

Assigner: VulDB

Description

A vulnerability has been found in ggml-org whisper.cpp 1.8.4-58. This impacts the function log_mel_spectrogram of the file src/whisper.cpp. The manipulation leads to out-of-bounds read. The attack needs to be performed locally. The pull request to fix this issue awaits acceptance.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-27
Last Modified
2026-07-27
Generated
2026-07-27
AI Q&A
2026-07-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ggml-org whisper.cpp 1.8.4-58

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap out-of-bounds read in the log_mel_spectrogram function of the whisper.cpp library. It occurs when processing very short audio inputs with fewer than 201 samples. The function attempts to apply reflective padding by copying the first 200 samples in reverse, but if the input is too short, this operation reads beyond the allocated memory, causing an out-of-bounds read.

Detection Guidance

To detect this vulnerability, monitor applications using whisper.cpp for crashes or memory corruption when processing short audio inputs. Use AddressSanitizer (ASan) to detect out-of-bounds reads by compiling whisper.cpp with -fsanitize=address and feeding it short audio files (e.g., 16-byte inputs). Check logs for heap-buffer-overflow errors.

Impact Analysis

This vulnerability could allow an attacker with local access to cause a denial-of-service or potentially leak sensitive information by triggering an out-of-bounds read in the whisper.cpp library. It may affect applications using whisper.cpp for audio transcription, especially those accepting user-supplied audio inputs.

Compliance Impact

This vulnerability involves an out-of-bounds read in audio processing, which could lead to memory corruption or crashes. While not directly impacting GDPR or HIPAA compliance, such vulnerabilities may expose systems to unauthorized data access or processing errors, potentially violating data integrity and security requirements under these regulations.

Mitigation Strategies

Apply the pending patch from pull request #3925 to reject audio inputs shorter than 201 samples. Temporarily filter or reject short audio files in your application before passing them to whisper_full(). Monitor for crashes or memory corruption in whisper.cpp-based services.

Chat Assistant

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

EPSS Chart