PT-2024-9390

CVE-2024-39720

·

Published

2024-10-29

·

Updated

2026-10-29

Description by

CVSS 4.0
8.8
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: Ollama versions prior to 0.1.46
Description: The issue is related to an out-of-bounds read vulnerability. It can be exploited by a remote attacker to cause a denial of service (segmentation fault) using a specially crafted file. An attacker can upload a malformed GGUF file and leverage a custom Modelfile to crash the application through the CreateModel route, leading to a segmentation fault. The vulnerability can be triggered through the "/api/create" endpoint.
Recommendations: For versions prior to 0.1.46, update to version 0.1.46 or later to resolve the issue. As a temporary workaround, consider restricting access to the "/api/create" endpoint to minimize the risk of exploitation. Avoid using the CreateModel route with untrusted input until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-95J2-W8X7-HM88
GO-2024-3245
OPENSUSE-SU-2024:0350-1
OPENSUSE-SU-2024:14452-1
OPENSUSE-SU-2024_3950-1
OPENSUSE-SU-2026:12355-1
SUSE-SU-2024:3950-1
Found an issue in the description? Have something to add? Feel free to write us 👾