ZDI-26-975: llama.cpp GGUF File Parsing Integer Overflow Remote Code Execution Vulnerability
Ringkasan
A remote code execution vulnerability exists in llama.cpp caused by an integer overflow during the parsing of GGUF files. User interaction is required for exploitation, as the target must visit a malicious webpage or open a malicious file.
- CVE ID: CVE-2026-126974
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- Credit: Adam Bedard
Produk Terdampak
- llama.cpp (Vendor: llama.cpp)
Detail Teknis
The specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow prior to writing data to memory.
Dampak
An attacker can leverage this vulnerability to execute arbitrary code within the context of the current process on affected installations.
Mitigasi
llama.cpp has issued an update to correct this vulnerability. Users are advised to update their installations accordingly.
- Apply the patch details available in the official pull request: https://github.com/ggml-org/llama.cpp/pull/31336
Referensi
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.