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-108960 Overview
CVE-2026-108960 is an out-of-bounds read vulnerability in Tiiny-AI PowerInfer, an open-source large language model inference engine. The flaw affects the create_striped_mat_to_gpu function in smallthinker/ggml/src/ggml-cuda/ggml-cuda.cu, which is part of the Feed-Forward Network (FFN) GPU-split Loader component. The issue is categorized under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer). Exploitation requires local access and low privileges. A public exploit exists, and the pull request to remediate the issue remains pending acceptance in the upstream repository.
Critical Impact
A local, authenticated attacker can trigger an out-of-bounds memory read in the CUDA FFN loader, potentially disclosing adjacent memory contents or destabilizing the inference process.
Affected Products
- Tiiny-AI PowerInfer up to commit 8bd56d69906c9d2dba4d3bf6899763401e01a9a4
- Component: FFN GPU-split Loader (smallthinker/ggml/src/ggml-cuda/ggml-cuda.cu)
- Rolling release distribution; discrete version numbers are not published by the vendor
Discovery Timeline
- 2026-10-13 - CVE-2026-108960 published to the National Vulnerability Database (NVD)
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108960
Vulnerability Analysis
The vulnerability resides in the create_striped_mat_to_gpu function within PowerInfer's CUDA backend. This function is responsible for allocating and copying striped matrix data to GPU memory as part of the FFN GPU-split loading path used during model initialization. Due to insufficient bounds enforcement, the function reads beyond the allocated buffer. Exploitation requires local access to the host executing the inference engine, meaning an attacker must already have the ability to run code or supply crafted model artifacts to the process.
The practical impact is limited to information disclosure of neighboring memory and potential process instability. The exploit is public, which lowers the skill barrier for reproducing the condition in testing environments. No remote attack vector exists.
Root Cause
The root cause is an improper boundary check inside create_striped_mat_to_gpu when computing read offsets for striped matrix tensors destined for GPU memory. The function trusts input-driven dimensions without validating that the computed read range remains inside the source buffer. This matches the [CWE-119] weakness class covering improper restriction of operations within memory buffer bounds.
Attack Vector
An attacker with local, low-privileged access to a system running PowerInfer can trigger the condition by invoking the inference pipeline with crafted model data that forces the FFN GPU-split Loader to compute out-of-range offsets. The attack does not require user interaction. Because the attack surface is local and the exploit is published through VulDB CVE-2026-108960, environments that allow untrusted users to load arbitrary models should treat this as actionable. The vulnerability mechanism is described in prose only; see GitHub PowerInfer Issue #284 for the upstream technical discussion.
Detection Methods for CVE-2026-108960
Indicators of Compromise
- Unexpected crashes or CUDA memory errors originating from the create_striped_mat_to_gpu call path in PowerInfer logs
- Loading of untrusted or unexpected model files by the smallthinker inference process
- Abnormal process termination of the PowerInfer binary during model initialization
Detection Strategies
- Monitor PowerInfer stderr and CUDA runtime diagnostics for out-of-bounds memory access warnings during model load
- Track filesystem access to model directories to detect loading of unapproved model artifacts
- Correlate local user process executions with PowerInfer invocations to identify unauthorized use
Monitoring Recommendations
- Enable verbose logging on the PowerInfer process during model initialization in non-production environments
- Audit which local accounts are permitted to invoke the inference engine and alert on new principals
- Collect host telemetry (process execution, file reads) into a central analytics platform for anomaly review
How to Mitigate CVE-2026-108960
Immediate Actions Required
- Restrict local access to systems running PowerInfer to trusted operators only
- Prevent loading of untrusted or user-supplied model files by the FFN GPU-split Loader
- Track the status of the pending upstream fix referenced in GitHub PowerInfer Issue #284
Patch Information
As of publication, no accepted upstream patch exists. The vendor uses a rolling release model, and the pull request addressing this issue in smallthinker/ggml/src/ggml-cuda/ggml-cuda.cu awaits acceptance. Monitor the GitHub PowerInfer Repository for the merged fix and rebuild from source once available. Reference details are tracked at VulDB Vulnerability #416779.
Workarounds
- Operate PowerInfer only under dedicated, least-privileged service accounts
- Isolate the inference host from multi-tenant workloads to limit local attack opportunities
- Validate model artifacts against known-good hashes before loading them into the engine
# Configuration example: restrict PowerInfer execution to a dedicated user
# and limit model directory access
sudo useradd -r -s /usr/sbin/nologin powerinfer
sudo chown -R powerinfer:powerinfer /opt/powerinfer/models
sudo chmod 750 /opt/powerinfer/models
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

