---
id: CVE-2026-112107
title: >-
  ztxz16 fastllm Safetensors Weight Loading model.cpp CreateBuffer buffer
  overflow
summary: >-
  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_offset…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'
cvssSource: cna
cwe:
  - CWE-120
  - CWE-119
vendor: ztxz16
product: fastllm
affected:
  - fastllm 1.8.0
  - fastllm 1.8.1
  - fastllm 1.8.2
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-19T12:44:27.535360Z'
exploitAvailable: true
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T12:44:53.682Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112107'
references:
  - url: 'https://vuldb.com/vuln/422072'
    label: >-
      VDB-422072 | ztxz16 fastllm Safetensors Weight Loading model.cpp
      CreateBuffer buffer overflow
  - url: 'https://vuldb.com/vuln/422072/cti'
    label: 'VDB-422072 | CTI Indicators (IOB, IOC, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-112107'
    label: CVE-2026-112107 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1013187'
    label: >-
      Submit #1013187 | ztxz16 fastllm commit 324b4d1 (master branch as of
      2026-10-04) Heap-based Buffer Overflow
  - url: 'https://github.com/ztxz16/fastllm/issues/758'
  - url: 'https://github.com/user-attachments/files/33027393/poc.zip'
  - url: 'https://github.com/ztxz16/fastllm/'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-10-19T12:27:23.806Z'
---

## Overview

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.

## Affected

- `fastllm 1.8.0`
- `fastllm 1.8.1`
- `fastllm 1.8.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
