CVE-2024-42477
published medium CVSS 3.1 · 5.3llama.cpp global-buffer-overflow in ggml_type_size
Package status and fixes
Description
llama.cpp provides LLM inference in C/C++. The unsafe `type` member in the `rpc_tensor` structure can cause `global-buffer-overflow`. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggerganov | llama.cpp | < b3561 (affected) | GitHub_M · cna |
| ggerganov | llama.cpp | 0 to < b3561 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
2Provider assertions
2GitHub_M · cna
llama.cpp global-buffer-overflow in ggml_type_size
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 856b6b07a05889efea0253b85e0dc260ea928951c4171204a98c573b0d56204a
- Ingested
- 23 Sep 2026, 08:26:47 UTC
- Source record
- Official CVE record