Skip to main content
Vulnerability Database/CVE-2026-108955

CVE-2026-108955: Tiiny-AI PowerInfer Use-After-Free Flaw

CVE-2026-108955 is a use-after-free vulnerability in Tiiny-AI PowerInfer affecting the GGUF Parser component. This flaw allows local attackers to trigger out-of-bounds reads. This article covers technical details, impact analysis, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108955 Overview

CVE-2026-108955 is an out-of-bounds read vulnerability in Tiiny-AI PowerInfer, an inference engine for large language models. The flaw resides in the gguf_init_from_file function within ggml.c, part of the GGUF Parser component. Manipulation of the data_offset argument causes the parser to read memory outside the intended buffer boundary. Exploitation requires local access and low privileges. A public disclosure exists, and the proposed pull request to remediate the issue is still pending acceptance upstream. PowerInfer follows a rolling release model, so specific affected version numbers are not published; the vulnerable code is present up to commit 8bd56d69906c9d2dba4d3bf6899763401e01a9a4.

Critical Impact

A local attacker supplying a crafted GGUF model file can trigger an out-of-bounds read in gguf_init_from_file, potentially leaking adjacent process memory or crashing the inference process.

Affected Products

  • Tiiny-AI PowerInfer (rolling release) up to commit 8bd56d69906c9d2dba4d3bf6899763401e01a9a4
  • GGUF Parser component (ggml.c)
  • gguf_init_from_file function

Discovery Timeline

  • 2026-10-13 - CVE-2026-108955 published to NVD
  • 2026-10-15 - Last updated in NVD database

Technical Details for CVE-2026-108955

Vulnerability Analysis

The vulnerability is an out-of-bounds read classified under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer). The affected code path is gguf_init_from_file in ggml.c, which parses GGUF model files used by PowerInfer to load quantized LLM weights. The parser consumes a data_offset value from the input file and uses it to index into mapped file data without sufficient validation. When the offset exceeds the allocated buffer bounds, the parser reads adjacent process memory.

Since PowerInfer uses a rolling release model, no version string identifies fixed builds. The maintainers have an open pull request discussed in GitHub Issue #283, but it has not been merged.

Root Cause

The root cause is missing bounds validation on the data_offset field read from untrusted GGUF files. The parser assumes the offset points inside the mapped region. A crafted file supplies an offset larger than the actual data section, and downstream reads dereference memory outside the valid buffer.

Attack Vector

Exploitation requires local access and the ability to supply a malicious GGUF model file to a PowerInfer process. Attackers with low privileges on the host can place a crafted model where PowerInfer loads it, triggering the out-of-bounds read when parsing occurs. The impact is limited to information disclosure of process memory or a parser crash resulting in denial of service of the inference workload.

No verified proof-of-concept code is published in a public exploit database. See the VulDB entry for CVE-2026-108955 for additional technical references.

Detection Methods for CVE-2026-108955

Indicators of Compromise

  • Unexpected crashes or segmentation faults in PowerInfer processes while loading GGUF model files.
  • Presence of GGUF model files from untrusted sources in directories read by PowerInfer.
  • Core dumps referencing gguf_init_from_file or ggml.c in the stack trace.

Detection Strategies

  • Monitor PowerInfer process telemetry for abnormal termination signals (SIGSEGV, SIGBUS) during model-loading operations.
  • File-integrity monitoring on model storage directories to flag newly introduced or modified GGUF files.
  • Audit shell history and process lineage for PowerInfer invocations against unexpected file paths.

Monitoring Recommendations

  • Enable verbose logging on PowerInfer to capture GGUF parsing errors and offset validation failures.
  • Centralize endpoint telemetry (process start, crash events, file writes) into a SIEM for correlation across hosts running inference workloads.
  • Track access to directories containing model weights with filesystem auditing (auditd, fanotify).

How to Mitigate CVE-2026-108955

Immediate Actions Required

  • Restrict PowerInfer to loading GGUF files from trusted, write-controlled directories only.
  • Run PowerInfer under a dedicated low-privilege service account with no access to sensitive secrets in memory.
  • Validate the provenance and integrity (hash verification) of all GGUF models before deployment.

Patch Information

No official patch has been released at the time of publication. A pull request addressing the issue is pending acceptance in the upstream repository. Track remediation status through the PowerInfer GitHub repository and Issue #283 discussion. Once merged, rebuild PowerInfer from a commit newer than 8bd56d69906c9d2dba4d3bf6899763401e01a9a4 containing the fix.

Workarounds

  • Isolate PowerInfer in a sandbox or container with read-only mounts for model directories.
  • Disable loading of user-supplied GGUF files in multi-tenant deployments until a fix is merged.
  • Apply mandatory access controls (AppArmor, SELinux) to limit PowerInfer's filesystem reach.
bash
# Example: restrict model directory permissions and run under dedicated user
sudo useradd -r -s /usr/sbin/nologin powerinfer
sudo chown -R powerinfer:powerinfer /opt/powerinfer/models
sudo chmod -R 0550 /opt/powerinfer/models
sudo -u powerinfer /opt/powerinfer/bin/powerinfer --model /opt/powerinfer/models/trusted.gguf

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.