ADVISORIES

Vulnerability

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.

7 advisories report this vulnerability, across 4 ecosystems.

Advisories in Go

  • GHSA-8hqg-whrw-pv92

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

    Moderate CVE-2024-37032 Go Updated 10 September 2026
  • GO-2024-2901

    Ollama does not validate the format of the digest (sha256 with 64 hex digits) in github.com/ollama/ollama

    CVE-2024-37032 Go Updated 4 February 2026

References