CVE-2024-42479: llama.cpp allows write-what-where in rpc_server::set_tensor

Published Aug 12, 2024
·
Updated

llama.cpp provides LLM inference in C/C++. The unsafe data pointer member in the rpctensor structure can cause arbitrary address writing. This vulnerability is fixed in b3561.

Affected Software

1 affected component
ggml llama.cpp<b3561

Event History

Aug 12, 2024
CVE Published
via MITRE·03:07 PM
Data Sourced
via MITRE·03:07 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-42479?

CVE-2024-42479 has a high severity level due to its potential for arbitrary address writing.

2

How do I fix CVE-2024-42479?

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

3

What type of vulnerability is CVE-2024-42479?

CVE-2024-42479 is a memory corruption vulnerability caused by unsafe pointer handling.

4

What software is affected by CVE-2024-42479?

CVE-2024-42479 affects versions of Ggerganov Llama.cpp prior to b3561.

5

Can CVE-2024-42479 lead to remote code execution?

Yes, the arbitrary address writing characteristic of CVE-2024-42479 may lead to remote code execution.

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