CVE-2026-112107 Details
Description
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.
A heap buffer overflow vulnerability has been identified in ztxz16 fastllm versions through 1.8.2. The issue arises in the Safetensors Weight Loading component, specifically within the SafeTensorItem::CreateBuffer function in src/model.cpp. The vulnerability is caused by a mismatch between the declared shape and data_offsets of a tensor, allowing for an out-of-bounds write of 128 bytes into a heap allocation intended for only 4 bytes. This flaw can be exploited remotely by loading a malicious model directory that contains a crafted model.safetensors file. The vulnerability has been publicly disclosed and could potentially be exploited in the wild.
Users are advised to avoid loading model directories from untrusted sources with fastllm. The vulnerability can be fixed by adding a consistency check for the data_offsets and shape declarations in the Safetensors parser before any buffer allocation or data reading occurs.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 19, 2026CISA-ADP
Assessed Oct 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/user-attachments/files/33027393/poc.zip | [email protected] | Broken LinkExploit |
| https://github.com/ztxz16/fastllm/ | [email protected] | Source CodeVendor |
| https://github.com/ztxz16/fastllm/issues/758 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-112107 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1013187 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/422072 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/422072/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ztxz16 fastllm | <= 1.8.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 19, 2026 | New CVE Received | [email protected] |
Volerion