Skip to content
Vulnerability Intelligence

CVE-2024-37032

HighExploitedPublic exploit

Ollama does not validate the format of the digest (sha256 with 64 hex digits)

Published May 31, 2024 · Updated Sep 10, 2026 · Also known as GHSA-8hqg-whrw-pv92, GO-2024-2901, TR-24-0596

Key Facts

Patch immediately
  • CVE-2024-37032 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Ollama, github.com/ollama/ollama (go), govulncheck-vulndb (suse).
  • It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Aug 22, 2024. Public exploit code is available.
  • EPSS estimates a 90% probability of exploitation in the next 30 days.
  • Fixed versions are available, including github.com/ollama/ollama 0.1.34, govulncheck-vulndb 0.0.20241213T205935-1.1, Ollama 0.1.44-r0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

90%

Higher than 99.7% of all scored CVEs

Exploited in the wild

Yes

2 catalog listings

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2024-37032 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial ../ substring.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedAug 22, 2024n/aNot reported
CIRCL KEVAug 22, 2024n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

5 affected entries in total
ProductAffected versionsFixed in
OllamaOllamaSee advisory0.1.34
github.com/ollama/ollamagoSee advisory0.1.34
govulncheck-vulndbsuseSee advisory0.0.20241213T205935-1.1

Patched Releases

github.com/ollama/ollama

0.1.34

govulncheck-vulndb

0.0.20241213T205935-1.1

Ollama

0.1.44-r0, 0.1.34

Timeline

  1. Publicly disclosed

    May 31, 2024

  2. Added to Industry KEV feed

    Aug 22, 2024

  3. Added to CIRCL KEV

    Aug 22, 2024

  4. Last updated

    Sep 10, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-37032 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo