Skip to main content

whisper.cpp CVE-2025-14569

LOW
Buffer Overflow (CWE-119)
2025-12-12 cna@vuldb.com
1.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Local user obtains system access
  2. Delivery
    Crafts malformed audio file triggering buffer state
  3. Exploit
    Invokes whisper.cpp with malicious audio input
  4. Install
    read_audio_data parses file and frees memory prematurely
  5. C2
    Subsequent code accesses freed buffer
  6. Execute
    Memory corruption or crash occurs
  7. Impact
    Denial of service or information disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the following specific conditions: (1) local system access - attacker must be able to execute code or invoke whisper.cpp commands on the target system, not remote; (2) valid user privileges - CVSS PR:L confirms the attacker must authenticate as a legitimate system user (not root, but not the anonymous user); (3) ability to supply crafted audio input - the attacker must be able to pass a specially formed audio file to the read_audio_data function, either directly via a vulnerable example application or through a service that uses whisper.cpp internally; (4) non-sandboxed execution - the process running whisper.cpp must have sufficient memory access to trigger the use-after-free condition. Limitations that reduce exploitation: modern memory protection mechanisms (ASLR, DEP) make reliable code execution difficult; the impact is constrained to low confidentiality/integrity/availability per CVSS, suggesting crashes or minor leaks rather than privilege escalation; the vulnerability is isolated to example code (examples/common-whisper.cpp), not necessarily the core library, so applications using whisper.cpp as a linked library may not be affected if they do not use the vulnerable read_audio_data function directly.

Impact

Multiple signals reveal a disconnect between theoretical severity and practical risk. CVSS 4.0 scores this as minimal impact (VC:L/VI:L/VA:L with no scope change), yet the 1.9 base score is unusually low for any vulnerability. EPSS 0.03% (7th percentile) indicates this ranks below typical exploit probability expectations, suggesting either highly constrained exploitation conditions or limited appeal to threat actors. The attack vector is strictly local (AV:L) with required authentication (PR:L), eliminating network-based mass exploitation entirely. KEV status is not present in the input, but the project has 'not responded yet' to early notification, indicating no official patch exists. The tags reference buffer overflow and denial of service, but the use-after-free mechanism may not reliably produce exploitable behavior under modern memory protections (ASLR, DEP). Public exploit code exists (referenced via GitHub OneAfter/InvalidFree), but availability does not equal widespread adoption or reliable weaponization. Assessment: This is a legitimate but limited-impact vulnerability with minimal real-world priority for typical deployments, though local admins or developers with system access should monitor for upstream patches.

Exploit ScenarioDerived

A local attacker with user-level privileges on a system running whisper.cpp manually crafts a malformed audio file (or one engineered to trigger specific memory allocation patterns) and passes it to a whisper.cpp example application or tool. The read_audio_data function allocates memory for audio buffers during parsing but prematurely frees the buffer under certain conditions; subsequent code attempts to read from or manipulate the freed memory, resulting in either a crash (denial of service) or potentially controlled information disclosure if the freed memory is quickly reallocated with attacker-controlled data. Public exploit code provided via the OneAfter/InvalidFree GitHub repository demonstrates the triggering mechanism, though reliable code execution is not established in the available references.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Use-after-free vulnerability in whisper.cpp up to version 1.8.2 affects the read_audio_data function in common-whisper.cpp, allowing local authenticated attackers to trigger memory corruption with limited confidentiality and integrity impact. The flaw requires local access and valid user privileges on the system, with publicly available exploit code currently circulating; however, the extremely low EPSS score (0.03%, 7th percentile) and minimal CVSS severity (1.9) suggest limited real-world exploitability despite public proof-of-concept availability.

RemediationAI

Upgrade whisper.cpp to a version newer than 1.8.2 when the project releases a patched version; however, as of the time of this analysis, the maintainers have not responded to the vulnerability report, and no official patch version has been released. Monitor the GitHub repository (https://github.com/ggml-org/whisper.cpp) for updates. As an interim compensating control, restrict execution of whisper.cpp examples and tools to trusted users only by removing or limiting setuid/setgid bits on affected binaries and enforcing file permission controls (chmod 750 on example directories) so that only authorized developers can invoke read_audio_data code paths. Additionally, apply operating system-level memory protections (ensure ASLR and DEP are enabled) to increase the difficulty of reliably exploiting the use-after-free condition, though this does not eliminate the vulnerability. If whisper.cpp is used in production speech-to-text pipelines, validate audio input files through a separate, sandboxed pre-processor before passing them to whisper.cpp to reduce exposure. Note that these workarounds do not fix the underlying memory bug and should be treated as temporary measures only.

Affected ProductsAI

ggml-org whisper.cpp versions up to and including 1.8.2 are affected. The vulnerability is localized to the read_audio_data function in the examples/common-whisper.cpp file. No specific CPE string is provided in the source data. Reference: https://github.com/ggml-org/whisper.cpp/issues/3501

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

whisper.cpp is a C/C++ implementation of OpenAI's Whisper speech-to-text model. The vulnerability exists in the read_audio_data function within examples/common-whisper.cpp, which handles audio file input processing. The root cause is a use-after-free memory error classified under CWE-119 (improper restriction of operations within the bounds of a memory buffer), indicating that the function references memory that has already been freed during audio data parsing or processing. This typically occurs when audio buffers are deallocated but subsequent code paths still attempt to access those buffers, leading to potential information disclosure or denial of service when the freed memory is reallocated by the process.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was detected in ggml-org whisper.cpp up to 1.8.2. Affected is the function read_audio_data of the file /whisper.cpp/examples/common-whisper.cpp. The manipulation results in use after free. The attack requires a local approach. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy