CVE-2024-23605: Integer Overflow

Published Feb 26, 2024
·
Updated

A heap-based buffer overflow vulnerability exists in the GGUF library header.nkv functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

Affected Software

2 affected components
Llama llama.cpp
ggml llama.cpp<2024-01-09

Event History

Feb 26, 2024
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:27 PM
DescriptionSeverityWeaknessAffected Software
May 26, 57089
Event
via NVD·07:02 AM
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-23605?

CVE-2024-23605 is classified as a high-severity vulnerability due to the potential for arbitrary code execution.

2

How do I fix CVE-2024-23605?

To fix CVE-2024-23605, update the llama.cpp library to a version released after January 9, 2024.

3

What causes CVE-2024-23605?

CVE-2024-23605 is caused by a heap-based buffer overflow in the GGUF library's header.n_kv functionality.

4

What types of attacks can exploit CVE-2024-23605?

Attackers can exploit CVE-2024-23605 by providing specially crafted .gguf files to trigger the vulnerability.

5

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

CVE-2024-23605 affects all versions of llama.cpp up to, but not including, the version released on January 9, 2024.

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