Skip to main content

fastllm CVE-2026-112107

| EUVDEUVD-2026-104243 LOW
Classic Buffer Overflow (CWE-120)
2026-10-19 VulDB GHSA-4xjv-j4pr-6vxm
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious safetensors file with manipulated data_offsets
  2. Delivery
    Deliver model to victim via hub or repo
  3. Exploit
    Victim loads model into fastllm
  4. Execution
    Trigger overflow in SafeTensorItem::CreateBuffer
  5. Impact
    Memory corruption during weight loading

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

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 load an attacker-controlled safetensors weight file whose data_offsets field has been manipulated, processed through fastllm's Safetensors weight-loading path (SafeTensorItem::CreateBuffer). Affected: ztxz16 fastllm versions up to and including 1.8.2. The limiting factor is user interaction (UI:P): an operator must be induced to load an untrusted/malicious model file - there is no indication fastllm exposes this parsing over a listening network service by default, so this behaves as untrusted-model-file/supply-chain exploitation rather than unauthenticated remote server compromise.

Impact

This is a moderate-severity, low-priority issue despite the 'remote' framing. VulDB's CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) scores only 5.3 with low impact across confidentiality, integrity, and availability (VC:L/VI:L/VA:L) and exploit-maturity E:P (proof-of-concept). The AV:N label combined with UI:P is the key nuance: although technically network-reachable, exploitation realistically requires a victim to LOAD a maliciously crafted safetensors weight file into fastllm - this is a file-parsing/supply-chain style flaw, not a server-side remotely-triggerable RCE against a listening service. Verify this interpretation against the vendor, as the 'attack can be initiated remotely' wording overstates real-world exposure. A public PoC exists (github user-attachments poc.zip, referenced from issue #758), which raises reproducibility, but there is NO CISA KEV listing and NO EPSS score in the provided data, so there is no evidence of active exploitation. The flaw is a classic CWE-120 buffer overflow via the data_offsets argument, which in principle could escalate beyond the low-rated impacts to memory corruption/code execution, but the source rated impact only partial. Notably, the project was informed via an issue report and has not responded, so no patched version is confirmed to exist.

Exploit ScenarioDerived

An attacker publishes or distributes a malicious safetensors model file with a crafted data_offsets value and convinces a victim to load it into a fastllm-based inference application (e.g., via a model-sharing hub or repository). When SafeTensorItem::CreateBuffer in src/model.cpp parses the manipulated offsets, it triggers a buffer overflow during weight loading. A public proof-of-concept (poc.zip) demonstrating the overflow has already been published.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Heap/stack buffer overflow in ztxz16 fastllm through 1.8.2, triggered inside SafeTensorItem::CreateBuffer (src/model.cpp) when a crafted safetensors file supplies manipulated data_offsets values during model weight loading. An attacker who convinces an operator to load an untrusted model file can cause out-of-bounds memory writes, yielding limited confidentiality, integrity, and availability impact; publicly available exploit code exists (VulDB submission with a poc.zip attachment) but there is no evidence of active exploitation in the wild. The vendor has not responded to the upstream issue report, so no fix has been published, and exploitation requires user interaction - the victim must explicitly load the malicious weights - which keeps this a moderate, low-priority supply-chain/untrusted-model-file issue rather than a remotely reachable server compromise.

RemediationAI

No vendor-released patch identified at time of analysis - the maintainers were notified via GitHub issue #758 and have not responded, so there is no fixed fastllm version to upgrade to. The most direct mitigation is to patch the source yourself or via a fork: in SafeTensorItem::CreateBuffer (src/model.cpp), validate that data_offsets begin/end are non-negative, that begin <= end, that end <= the size of the loaded data section, and that the declared span matches the tensor's dtype/shape-derived byte count before any allocation or memcpy - reject the file otherwise; this fully closes the overflow but requires maintaining an out-of-tree patch. Operationally, restrict fastllm to loading safetensors files from trusted, integrity-verified sources: enforce SHA-256 checksums or signatures on model artifacts in your model registry and reject anything unverified, which preserves normal workflows but does nothing for already-poisoned trusted sources. Run model loading and conversion in a sandboxed, unprivileged container with strict memory limits and no access to sensitive mounts so an overflow degrades to a crash rather than code execution; this trades performance and convenience for containment. Avoid processing user-uploaded or third-party model files entirely until a fix lands, and monitor the upstream repository and issue #758 for a patched release.

Affected VersionsENISA

fastllm 1.8.2
fastllm 1.8.1
fastllm 1.8.0

Affected Packages

euvd fastllm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

fastllm is a C++ inference engine that loads model weights from the safetensors format, a container that stores tensors as raw bytes plus a JSON header describing each tensor's dtype, shape, and data_offsets (begin/end byte offsets into the data section). SafeTensorItem::CreateBuffer in src/model.cpp allocates a destination buffer based on tensor metadata and then copies the corresponding byte range, but the data_offsets read from the untrusted header are not adequately validated against the actual size of the memory-mapped/loaded data section. A crafted header can therefore declare offsets or spans that exceed the allocated buffer, producing an out-of-bounds write (CWE-120, classic buffer copy without size checking). The root cause class is missing bounds validation on externally supplied length/offset fields prior to a memory copy - the same pattern that has affected other safetensors/GGUF/ONNX loaders. Per the CPE (cpe:2.3:a:ztxz16:fastllm:*:*:*:*:*:*:*:*) all released versions, including 1.8.2, are presumed affected; no fixed version has been identified. The vulnerability is reachable whenever the engine ingests an attacker-influenced safetensors file through its standard weight-loading path, whether via a CLI conversion/load command or an application that wraps fastllm as a library.

Know when Fastllm gets its next vulnerability

  • 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 2.1 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/E:P
vuln.today AI 6.3 MEDIUM

Malicious model file is network-deliverable (AV:N) but must be loaded by the user (UI:R), needs no privileges (PR:N), and the overflow yields limited partial impact per the source rating.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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

Lifecycle Timeline

3
Severity Changed
Oct 19, 2026 - 12:23 NVD
MEDIUM LOW
CVSS changed
Oct 19, 2026 - 12:23 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Oct 19, 2026 - 11:00 cve.org
MEDIUM 5.3

DescriptionCVE.org

A flaw has been found in ztxz16 fastllm up to 1.8.2. Affected by this issue is the function SafeTensorItem::CreateBuffer of the file src/model.cpp of the component Safetensors Weight Loading. This manipulation of the argument data_offsets causes buffer overflow. The attack can be initiated remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche open-source LLM inference library, limited production/enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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