{"id":"CVE-2024-42479","state":"PUBLISHED","title":"llama.cpp allows write-what-where in rpc_server::set_tensor","description":"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.","publishedAt":"2024-08-12T15:07:19.150Z","updatedAt":"2024-08-13T13:47:10.838Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["ggerganov llama.cpp"],"affected":[{"vendor":"ggerganov","product":"llama.cpp","versions":[{"version":"< b3561","status":"affected"}]}],"references":["https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-wcr5-566p-9cwj","https://github.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b"],"weaknesses":["CWE-123"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42479.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-42479","state":"PUBLISHED","datePublished":"2024-08-12T15:07:19.150Z","dateUpdated":"2024-08-13T13:47:10.838Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-08-02T14:13:04.616Z"},"containers":{"cna":{"title":"llama.cpp allows write-what-where in rpc_server::set_tensor","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ggerganov","product":"llama.cpp","versions":[{"version":"< b3561","status":"affected"}]}],"references":[{"url":"https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-wcr5-566p-9cwj","name":"https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-wcr5-566p-9cwj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b","name":"https://github.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-123","lang":"en","description":"CWE-123: Write-what-where Condition","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-08-12T15:07:19.150Z"},"source":{"advisory":"GHSA-wcr5-566p-9cwj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ggerganov","product":"llama.cpp","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"b3561","versionType":"custom"}],"cpes":["cpe:2.3:a:ggerganov:llama.cpp:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-12T18:14:47.266581Z","id":"CVE-2024-42479","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-13T13:47:10.838Z"}}]}}}