Out-of-bounds read in llama.cpp - #VU113038
Published: July 18, 2025
Vulnerability identifier: #VU113038
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vendor: ggerganov
Affected software:
llama.cpp
llama.cpp
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary condition in llama_model_load in the GGUF file parser. A remote user can use a specially crafted model file, trigger an out-of-bounds read error and cause a denial of service condition on the system.
Remediation
Install updates from vendor's website.