{"id":"CVE-2024-42477","state":"PUBLISHED","title":"llama.cpp global-buffer-overflow in ggml_type_size","description":"llama.cpp provides LLM inference in C/C++. The unsafe `type` member in the `rpc_tensor` structure can cause `global-buffer-overflow`. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.","publishedAt":"2024-08-12T15:02:40.980Z","updatedAt":"2024-08-13T14:07:30.334Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","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-mqp6-7pv6-fqjf","https://github.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42477.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-42477","state":"PUBLISHED","datePublished":"2024-08-12T15:02:40.980Z","dateUpdated":"2024-08-13T14:07:30.334Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-08-02T14:13:04.616Z"},"containers":{"cna":{"title":"llama.cpp global-buffer-overflow in ggml_type_size","descriptions":[{"lang":"en","value":"llama.cpp provides LLM inference in C/C++. The unsafe `type` member in the `rpc_tensor` structure can cause `global-buffer-overflow`. This vulnerability may lead to memory data leakage. The 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-mqp6-7pv6-fqjf","name":"https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-mqp6-7pv6-fqjf","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":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-08-12T15:02:40.980Z"},"source":{"advisory":"GHSA-mqp6-7pv6-fqjf","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-13T14:06:01.701592Z","id":"CVE-2024-42477","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-13T14:07:30.334Z"}}]}}}