# OSV-2024-1053: Heap-buffer-overflow in gguf_get_tensor_offset

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-09-13T00:00:16.432Z
- Modified: 2025-01-10T05:05:50.790Z

## Description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42538148

```
Crash type: Heap-buffer-overflow READ 8
Crash state:
gguf_get_tensor_offset
llama_model_loader::llama_tensor_weight::llama_tensor_weight
void std::__1::vector<llama_model_loader::llama_tensor_weight, std::__1::allocat
```

(As written by OSS-Fuzz.)

## Affected

- llamacpp (OSS-Fuzz): from 49271efbaf3f7a4ae52c4ca299b6d4e82598a97d before e597e50794f07ec8dc24b9efb18f94ec6386fda0

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42538148> (report)

## Sources

- OSS-Fuzz: [OSV-2024-1053](https://osv.dev/vulnerability/OSV-2024-1053), CC-BY-4.0, modified 2025-01-10

---

Page: https://cve.day/OSV-2024-1053 · Whole record: https://cve.day/OSV-2024-1053.json · Rebuilt by cve.day 2026-11-25T22:56:19.020Z
