CVE-2024-32878
Last modified
CVE-2024-32878 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Llama.cpp is LLM inference in C/C++. There is a use of uninitialized heap variable vulnerability in gguf_init_from_file, the code will free this uninitialized variable later. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
Description
Llama.cpp is LLM inference in C/C++. There is a use of uninitialized heap variable vulnerability in gguf_init_from_file, the code will free this uninitialized variable later. In a simple POC, it will directly cause a crash. If the file is carefully constructed, it may be possible to control this uninitialized value and cause arbitrary address free problems. This may further lead to be exploited. Causes llama.cpp to crash (DoS) and may even lead to arbitrary code execution (RCE). This vulnerability has been patched in commit b2740.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ggml | Llama.Cpp | >= b2715, < b2740 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-32878?
How severe is CVE-2024-32878?
How do I fix CVE-2024-32878?
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-32872Umbraco workflow provides workflows for the Umbraco content …5.5
- CVE-2024-32873Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmo…4.3
- CVE-2024-32874Frigate is a network video recorder (NVR) with realtime loca…6.8
- CVE-2024-32875Hugo is a static site generator. Starting in version 0.123.0…6.1
- CVE-2024-32876NewPipe is an Android app for video streaming written in Jav…8.5
- CVE-2024-32877Yii 2 is a PHP application framework. During internal penetr…4.7
- CVE-2024-32879Python Social Auth is a social authentication/registration m…4.9
- CVE-2024-3288The Logo Slider WordPress plugin before 4.0.0 does not vali…5.4
- CVE-2024-32880pyload is an open-source Download Manager written in pure Py…7.2
- CVE-2024-32881Danswer is the AI Assistant connected to company's docs, app…9.8
- CVE-2024-32882Wagtail is an open source content management system built on…2.7
- CVE-2024-32883MCUboot is a secure bootloader for 32-bits microcontrollers.…7.7
Are you affected by CVE-2024-32878?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
