SCA: security update for github.com/ollama/ollama (GHSA-x8qc-fggm-mpqg)

high Tenable Self-Hosted Container Security Plugin ID 441552

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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). (CVE-2026-7482)

Solution

Update the github.com/ollama/ollama library and its related packages to version 0.17.1 or later.

See Also

https://github.com/advisories/GHSA-x8qc-fggm-mpqg

Plugin Details

Severity: High

ID: 441552

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/8/2026

Updated: 6/30/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.1

Percentile: 98.42

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:C

CVSS Score Source: CVE-2026-7482

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.8

Threat Score: 7.8

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/4/2026

Vulnerability Publication Date: 4/30/2026

Reference Information

CVE: CVE-2026-7482

cwe: CWE-125