SB2024110190 - Multiple vulnerabilities in llama.cpp
Published: November 1, 2024 Updated: March 26, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Out-of-bounds write (CVE-ID: CVE-2024-42479)
CWE-ID: CWE-787 - Out-of-bounds write
CVSSv4: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a boundary error within the LLM inference. A local user can trigger an out-of-bounds write and execute arbitrary code on the target system.
2) Out-of-bounds read (CVE-ID: CVE-2024-42478)
CWE-ID: CWE-125 - Out-of-bounds read
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition in the rpc_tensor structure. A remote attacker can send a specially crafted request to the application, trigger an out-of-bounds read error and read contents of memory on the system.
Remediation
Install update from vendor's website.