{"id":"CVE-2025-53630","state":"PUBLISHED","title":"Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf","description":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.","publishedAt":"2025-07-10T19:32:45.296Z","updatedAt":"2025-07-10T20:31:07.240Z","severity":{"score":8.9,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","source":"GitHub_M"},"assigner":"GitHub_M","products":["ggml-org llama.cpp"],"affected":[{"vendor":"ggml-org","product":"llama.cpp","versions":[{"version":"< 26a48ad699d50b6268900062661bd22f3e792579","status":"affected"}]}],"references":["https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-vgg9-87g3-85w8","https://github.com/ggml-org/llama.cpp/commit/26a48ad699d50b6268900062661bd22f3e792579"],"weaknesses":["CWE-122","CWE-680"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/53xxx/CVE-2025-53630.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-53630","state":"PUBLISHED","datePublished":"2025-07-10T19:32:45.296Z","dateUpdated":"2025-07-10T20:31:07.240Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-07-07T14:20:38.389Z"},"containers":{"cna":{"title":"Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf","descriptions":[{"lang":"en","value":"llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579."}],"affected":[{"vendor":"ggml-org","product":"llama.cpp","versions":[{"version":"< 26a48ad699d50b6268900062661bd22f3e792579","status":"affected"}]}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-vgg9-87g3-85w8","name":"https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-vgg9-87g3-85w8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/26a48ad699d50b6268900062661bd22f3e792579","name":"https://github.com/ggml-org/llama.cpp/commit/26a48ad699d50b6268900062661bd22f3e792579","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-680","lang":"en","description":"CWE-680: Integer Overflow to Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-07-10T19:32:45.296Z"},"source":{"advisory":"GHSA-vgg9-87g3-85w8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-10T20:30:57.116005Z","id":"CVE-2025-53630","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-10T20:31:07.240Z"}}]}}}