CVE-2024-42477: llama.cpp global-buffer-overflow in ggml_type_size

Published Aug 12, 2024
·
Updated

llama.cpp provides LLM inference in C/C++. The unsafe type member in the rpctensor structure can cause global-buffer-overflow. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.

Affected Software

1 affected component
ggml llama.cpp<b3561

Event History

Aug 12, 2024
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-42477?

CVE-2024-42477 has a severity rating that indicates it may lead to significant memory data leakage issues.

2

How do I fix CVE-2024-42477?

To fix CVE-2024-42477, upgrade to version b3561 or later of llama.cpp.

3

What causes the vulnerability CVE-2024-42477?

CVE-2024-42477 is caused by the unsafe `type` member in the `rpc_tensor` structure that can result in a global buffer overflow.

4

What is the potential impact of CVE-2024-42477?

The potential impact of CVE-2024-42477 includes memory data leakage, which could expose sensitive information.

5

Which versions of llama.cpp are affected by CVE-2024-42477?

Versions of llama.cpp prior to b3561 are affected by CVE-2024-42477.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203