Skip to main content
ExploitedNot in CISA KEV yetFix available

CVE-2024-37032

Exploitation confirmed. First attested on 2024-08-22 by GCVE · previdian, GCVE · shadowserver.

  • Published2024-05-31
  • Fixed in0.1.34
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-05-3104:15CVE publishedNVD
  2. 2024-08-2207:13Listed as exploited by GCVEGCVE
  3. 2024-08-2207:13Exploitation first reportedGCVE

Versions per branch

NVD · OSV
Ollama
BranchAffectedFixed in
0.1< 0.1.340.1.34

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • govulncheck-vulndbopenSUSE:Tumbleweedall versions · fixed in 0.0.20241213T205935-1.1
  • ollamaWolfiall versions · fixed in 0.1.44-r0and 1 other package
  • ollamaChainguardall versions · fixed in 0.1.44-r0and 1 other package

Full record on NVD

Fix

  1. Update Ollama to 0.1.34

Advisories and patches

Detection

read 2026-11-13 10:35 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
1 moduleexploit/linux/http/ollama_rce_cve_2024_37032rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2024-05-31
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-8hqg-whrw-pv92

Frequently asked questions

What is CVE-2024-37032?

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.

Is CVE-2024-37032 actively exploited?

Active exploitation of CVE-2024-37032 has not been confirmed. Its EPSS score was 89.6% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-37032?

CVE-2024-37032 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running ollama/ollama? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record