Skip to content
Medium 6.9

llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets

CVE-2024-58399 First seen on SecPulse

Affected packages

EcosystemPackageAffectedFixed
ggml-org llama.cpp
≥ b1046, < b2731
b2731

Fix status by distribution

Fixed packages published by each distribution for this CVE

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details