# CVE-2024-37032: Ollama does not validate the format of the digest (sha256 with 64 hex digits)

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 89.6%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-31T00:00:00.000Z
- Modified: 2026-09-10T03:50:13.660Z
- Also known as: GHSA-8hqg-whrw-pv92, GO-2024-2901
- Related: CGA-mm98-4jp5-2p7p
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/ollama/ollama (Go): before 0.1.34
- ollama ollama: before 0.1.34

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: rating Medium

## References

- <https://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032> (exploit, third-party-advisory, web)
- <https://github.com/ollama/ollama/pull/4175> (fix, issue-tracking, web)
- <https://github.com/ollama/ollama/compare/v0.1.33...v0.1.34> (release-notes, web)
- <https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37032> (advisory)
- <https://github.com/ollama/ollama/commit/2a21363bb756a7341d3d577f098583865bd7603f> (fix, web)
- <https://github.com/advisories/GHSA-8hqg-whrw-pv92> (advisory)
- <https://github.com/ollama/ollama> (package)
- <https://pkg.go.dev/vuln/GO-2024-2901> (web)

## Sources

- CVE List: [CVE-2024-37032](https://www.cve.org/CVERecord?id=CVE-2024-37032), CVE Terms of Use, modified 2025-03-27
- GitHub Advisory Database: [GHSA-8hqg-whrw-pv92](https://github.com/advisories/GHSA-8hqg-whrw-pv92), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2901](https://pkg.go.dev/vuln/GO-2024-2901), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-37032](https://nvd.nist.gov/vuln/detail/CVE-2024-37032), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37032 · Whole record: https://cve.day/CVE-2024-37032.json · Rebuilt by cve.day 2026-11-25T22:58:41.318Z
