llama.cpp before b2731 Out-of-Bounds Read via GGUF Tensor Offsets
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| ggml-org | llama.cpp |
≥ b1046, < b2731 |
b2731 |
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Ubuntu UBUNTU-CVE-2024-58399 llama.cpp
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
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- patch github.com
- report github.com
- web github.com
- web github.com