{"schema":"threatline.record/2","record":{"id":"CVE-2024-58399","aliases":[],"summary":"llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets","details":"llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted or truncated GGUF model file with arbitrary 64-bit tensor offsets to crash the process or load adjacent process memory as model weights.","categories":["Unclassified"],"product":"llama.cpp","vendor":"ggml-org","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-58399","source_modified_at":"2026-10-27T00:33:56.695Z","fetched_at":"2026-10-27T04:51:10.072820Z","product":"llama.cpp","vendor":"ggml-org","versions":[{"version":"b1046","status":"affected","versionType":"custom","lessThan":"b2731"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":6.9,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-27T00:33:56.695Z","modified_at":"2026-10-27T00:33:56.695Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58399","fetched_at":"2026-10-27T04:51:10.072820Z","source_modified_at":"2026-10-27T00:33:56.695Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/issues/6774","tags":["issue-tracking"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/pull/6885","tags":["patch","issue-tracking"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/commit/0ead1f1072fdc70720f92e008a294dc74a826b1d","tags":["patch"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/blob/b2730/llama.cpp#L3002-L3004","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/releases/tag/b2731","tags":["release-notes"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/llama-cpp-before-b2731-out-of-bounds-read-via-gguf-tensor-offsets","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-27T00:33:56.695Z","content_hash":"d14886a2c9b908eff03b1adefa02b325f185cf5f1de9d87b15f6a727bfb5908d"}}
