CVE-2024-58400
Last modified
CVE-2024-58400 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows remote unauthenticated attackers to read memory by supplying unvalidated token IDs. Attackers can send integer-array prompts to the llama-server /completion endpoint with IDs outside 0 to n_vocab to read embedding memory out of bounds or crash the process.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ggml-org | llama.cpp | < b3701 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2024-58400?
How severe is CVE-2024-58400?
How do I fix CVE-2024-58400?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-58394Retool before 3.88.0 contains a cross-site scripting vulnera…6.1
- CVE-2024-58396YouDataSum CPAS Audit Management System V4 contains a path t…7.5
- CVE-2024-58397MP4v2 through 2.1.3 contains a heap-based out-of-bounds read…6.1
- CVE-2024-58398Coder 2.3.1 before 2.14.4, 2.15.x before 2.15.3, and 2.16.0 …4.3
- CVE-2024-58399llama.cpp before b2731 contains an out-of-bounds read vulner…6.1
- CVE-2024-5840Policy bypass in CORS in Google Chrome prior to 126.0.6478.5…6.5
- CVE-2024-5841Use after free in V8 in Google Chrome prior to 126.0.6478.54…8.8
- CVE-2024-5842Use after free in Browser UI in Google Chrome prior to 126.0…8.8
- CVE-2024-5843Inappropriate implementation in Downloads in Google Chrome p…6.5
- CVE-2024-5844Heap buffer overflow in Tab Strip in Google Chrome prior to …8.8
- CVE-2024-5845Use after free in Audio in Google Chrome prior to 126.0.6478…8.8
- CVE-2024-5846Use after free in PDFium in Google Chrome prior to 126.0.647…8.8
Are you affected by CVE-2024-58400?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
