CWE
125
Advisory Published
Updated

CVE-2024-42478: llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor

First published: Mon Aug 12 2024(Updated: )

llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause arbitrary address reading. This 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-42478?

    The severity of CVE-2024-42478 has not been explicitly classified, but it poses a risk of arbitrary address reading which can lead to unauthorized data access.

  • How do I fix CVE-2024-42478?

    CVE-2024-42478 can be fixed by updating Llama.cpp to version b3561 or later.

  • What is the impact of CVE-2024-42478?

    CVE-2024-42478 allows for arbitrary address reading which can compromise the confidentiality of the data handled by the affected software.

  • Which versions of Llama.cpp are affected by CVE-2024-42478?

    CVE-2024-42478 affects all versions of Llama.cpp prior to version b3561.

  • Is CVE-2024-42478 a coding or implementation issue?

    CVE-2024-42478 is considered a coding issue due to unsafe handling of the `data` pointer in the `rpc_tensor` structure.

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