Skip to main content

gguf-tools CVE-2026-133610

| EUVDEUVD-2026-131574 MEDIUM
Buffer Overflow (CWE-119)
2026-11-20 cna@vuldb.com GHSA-9fwf-hr8w-c76j
5.3
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious GGUF file with out-of-bounds tensor offset
  2. Delivery
    Deliver file to victim via model sharing
  3. Exploit
    Victim parses file with gguf-tools
  4. Execution
    Trigger OOB read in gguf_get_tensor
  5. Impact
    Disclose adjacent memory or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to parse an attacker-crafted GGUF file with gguf-tools and reach a code path that calls gguf_get_tensor (e.g., tensor inspection, dequantization, or compare operations). The specific trigger, confirmed by the PR diff, is a tensor whose file-supplied offset (or the offset plus bsize extent) falls outside the mapped file size ctx->size, so the computed weights_data pointer references memory beyond the mapping. The key limiting factor is the required user interaction (UI:P): there is no remote service to attack - a victim must actively open the malicious file. Affected versions are gguf-tools up to commit fdfafbed766db0a1e9019b07994cd88f133d1aab; no accepted fix release exists yet (PR #33 pending).

Impact

This is a medium-severity (CVSS 4.0 base 5.3) out-of-bounds read in antirez gguf-tools, and the signals consistently point to a low-urgency, not-a-priority issue rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) indicates network-reachable, low-complexity, unauthenticated triggering, but critically requires passive user interaction (UI:P) - a victim must parse a crafted GGUF file - and impact is only Low across confidentiality, integrity, and availability with no scope change (VC:L/VI:L/VA:L/SC:N). No KEV listing and no EPSS score are provided, and no public exploit is identified; the only GitHub artifact is fix pull request #33, which is itself awaiting acceptance (not exploit code). The vuln.today decision label is 'this_month', not act_now or emergency, consistent with the modest impact. The one thing to note explicitly: the CVSS 4.0 impact metrics mark VI:L (integrity) even though the PR diff confirms this is purely an out-of-bounds READ - a read primitive would realistically affect confidentiality (memory disclosure) and availability (crash), not integrity; verify the integrity rating with the CNA. Also, 'remotely' in the description means a crafted file delivered over a network and then opened locally, not a remote network service - the UI:P requirement is the real gate on exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious GGUF model file whose tensor offset/alignment and size fields point outside the mapped file region, then distributes it (e.g., via a model-sharing site or repository). When a victim runs a gguf-tools operation (inspect-tensor, dequantization, or compare) that calls gguf_get_tensor on the file, the unchecked offset forms a weights_data pointer outside the mapping, causing an out-of-bounds read that can disclose adjacent process memory or crash the tool. No public exploit code is identified; exploitation requires the victim to open the attacker-supplied file (UI:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Out-of-bounds read in gguf-tools is reachable when a user opens a crafted GGUF file and a tensor's file-supplied offset or offset-plus-bsize extent falls outside the mapped file, causing gguf_get_tensor to form a weights_data pointer beyond the mapping. Affected code is antirez gguf-tools through commit fdfafbed766db0a1e9019b07994cd88f133d1aab, and exploitation requires the victim to parse the malicious file and reach tensor inspection, dequantization, or compare paths. Impact is limited to low confidentiality, integrity, and availability effects; no public exploit was identified at time of analysis, and PR #33 is a proposed fix that awaits acceptance.

RemediationAI

Upstream fix proposed (PR #33 pending acceptance); released patched version not independently confirmed. The PR adds overflow-safe bounds checks in gguf_get_tensor for *offset, tensor->offset, and tensor->bsize against ctx->size and should be tracked at https://github.com/antirez/gguf-tools/pull/33. Until an accepted fix or release is available, do not parse untrusted or attacker-supplied GGUF files with affected gguf-tools builds, and restrict use to trusted model files; this removes the required user-driven file-open path but does not fix the underlying parser. If building from source, apply or backport the PR #33 checks and verify that tensor offsets and bsize extents are validated against the mapped file size before weights_data is used.

Affected VersionsENISA

gguf-tools fdfafbed766db0a1e9019b07994cd88f133d1aab

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is in gguflib.c's GGUF parser. In gguf_get_tensor, the tensor offset is read from the file and used to compute tensor->weights_data = ctx->data + tensor->offset before checking that the offset and the bsize-byte extent lie within ctx->size. A crafted GGUF can therefore make later reads of tensor weights, such as dequantization, inspection, or compare operations, read beyond the mapped file buffer. CWE-119 captures the missing bounds restriction. PR #33 adds overflow-safe checks requiring *offset <= ctx->size, tensor->offset <= ctx->size, and tensor->bsize <= ctx->size - tensor->offset before forming the pointer. The affected component is the GGUF Parser; the affected file and function are gguflib.c and gguf_get_tensor; affected versions run through commit fdfafbed766db0a1e9019b07994cd88f133d1aab.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

A crafted file is delivered over the network but the victim must open it (UI:R); an out-of-bounds read yields limited memory disclosure (C:L) or a crash (A:L) with no integrity impact (I:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was found in antirez gguf-tools up to fdfafbed766db0a1e9019b07994cd88f133d1aab. The impacted element is the function gguf_get_tensor of the file gguflib.c of the component GGUF Parser. The manipulation of the argument offset/alignment results in out-of-bounds read. The attack can be launched remotely. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
niche open-source GGUF command-line utility, no broad production deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy