{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ollama/ollama. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-7482 in the wild and no public exploit code.","fix":"Upgrade github.com/ollama/ollama to 0.17.1 or later.","what":"CVE-2026-7482 is a high-severity vulnerability in ollama, published on 4 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-7482 and fix it if it is affected.\n\nWhat it is: CVE-2026-7482 is a high-severity vulnerability in ollama, published on 4 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-7482 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ollama/ollama (Go): affected all versions; fixed in 0.17.1\n- github.com/ollama/ollama (Go): affected all versions; fixed in 0.17.1\n- github.com/ollama/ollama (Go): affected all versions; fixed in 0.17.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-7482/ (Markdown: https://insights.sbomify.com/CVE-2026-7482/index.md)","id":"CVE-2026-7482","markdown":"https://insights.sbomify.com/CVE-2026-7482/index.md","name":"CVE-2026-7482","record":{"aliases":["GHSA-x8qc-fggm-mpqg","GO-2026-5748","MINI-478v-jgqg-cx74","openSUSE-SU-2026:11688-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"LLM inference server","requires_auth":"none","summary":"Unauthenticated attackers can leak server memory via malformed GGUF files, exposing secrets and user data if the server is exposed to the network.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Echo","cpe":[{"product":"ollama","vendor":"ollama"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/AU:Y/R:A/V:D/RE:L/U:Red","version":"4.0"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer. The leaked memory contents may include environment variables, API keys, system prompts, and concurrent users' conversation data, and can be exfiltrated by uploading the resulting model artifact through the /api/push endpoint to an attacker-controlled registry. The /api/create and /api/push endpoints have no authentication in the upstream distribution. Default deployments bind to 127.0.0.1, but the documented OLLAMA_HOST=0.0.0.0 configuration is widely used in practice (large public-internet exposure observed).","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-05-05","github_poc":3,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-05T19:55:32Z","kind":"github_poc","ref":"https://github.com/0x0OZ/CVE-2026-7482-PoC","stars":7,"title":"1day vuln research I guess"},{"date":"2026-05-07T16:35:01Z","kind":"github_poc","ref":"https://github.com/szybnev/CVE-2026-7482","stars":1,"title":"Ollama CVE-2026-7482 Heap OOB read reproduction and black-box impact notes"},{"date":"2026-05-10T22:36:35Z","kind":"github_poc","ref":"https://github.com/kaleth4/CVE-2026-7482","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Ollama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackers","id":"CVE-2026-7482","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"Local privilege escalation in ESET security applications for macOS","id":"CVE-2026-7483"},"packages":[{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/ollama/ollama","purl":null,"source":"GHSA-x8qc-fggm-mpqg"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"GHSA-x8qc-fggm-mpqg"},{"ecosystem":"Go","fixed":["0.17.1"],"introduced":["0"],"last_affected":[],"package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"GO-2026-5748"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.33.1-1.1"],"introduced":["0"],"last_affected":[],"package":"ollama","purl":"pkg:rpm/opensuse/ollama\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11688-1"}],"prev":{"headline":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","id":"CVE-2026-7481"},"products":["ollama"],"published":"2026-05-04","related":[{"cvss_score":9.8,"headline":"Ollama Platform has missing authentication enabling attackers to perform model management operations","id":"CVE-2025-63389","kev_date_added":null,"published":"2025-12-18"},{"cvss_score":9.1,"headline":"Ollama can extract members of a ZIP archive outside of the parent directory","id":"CVE-2024-45436","kev_date_added":null,"published":"2024-08-29"},{"cvss_score":8.8,"headline":"Ollama does not validate the format of the digest (sha256 with 64 hex digits)","id":"CVE-2024-37032","kev_date_added":null,"published":"2024-05-31"},{"cvss_score":8.7,"headline":"Ollama Multi-Modal Model Image Processing NULL Pointer Dereference","id":"CVE-2025-15514","kev_date_added":null,"published":"2026-01-12"},{"cvss_score":8.2,"headline":"Ollama Out-of-bounds Read","id":"CVE-2024-39720","kev_date_added":null,"published":"2024-10-31"},{"cvss_score":7.7,"headline":"Missing Signature Verification for Updates in Ollama","id":"CVE-2026-42248","kev_date_added":null,"published":"2026-04-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-04","vendors":["ollama"]},"summary":"Unauthenticated attackers can leak server memory via malformed GGUF files, exposing secrets and user data if the server is exposed to the network.","url":"https://insights.sbomify.com/CVE-2026-7482/"}