7.5
CWE
125 401
Advisory Published
Updated

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

First published: Mon Aug 12 2024(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Llama.cpp<b3561

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How do I fix CVE-2024-42477?

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

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203