{"id":"CVE-2024-42479","aliases":["CVE-2024-42479"],"related":[],"kind":"vulnerability","state":"published","title":"llama.cpp allows write-what-where in rpc_server::set_tensor","summary":"llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause arbitrary address writing. This vulnerability is fixed in b3561.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause arbitrary address writing. This vulnerability is fixed in b3561.","source":"cvelist"},{"lang":"es","text":"llama.cpp proporciona inferencia LLM en C/C++. El miembro puntero \"datos\" inseguro en la estructura \"rpc_tensor\" puede provocar la escritura de direcciones arbitrarias. Esta vulnerabilidad se soluciona en b3561.","source":"nvd"}],"published":"2024-08-12T15:07:19.150Z","modified":"2026-06-17T07:49:31.890Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-123","CWE-787"],"affected":[{"ranges":[{"version":"< b3561","status":"affected"}],"vendor":"ggerganov","product":"llama.cpp","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"b3561","status":"affected"}],"vendor":"ggerganov","product":"llama.cpp","cpe":"cpe:2.3:a:ggerganov:llama.cpp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"b3561"}],"vendor":"ggml","product":"llama.cpp","cpe":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-wcr5-566p-9cwj","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-12T18:14:47.266Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42479","url":"https://www.cve.org/CVERecord?id=CVE-2024-42479","licence":"CVE Terms of Use","modified":"2024-08-13T13:47:10.838Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42479","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42479","licence":"Public domain","modified":"2026-06-17T07:49:31.890Z"}],"updatedAt":"2026-11-25T22:58:44.218Z","epss":{"score":0.02607,"percentile":0.85814,"date":"2026-12-01T12:00:22.000Z"}}