CVE-2026-112107 ztxz16 fastllm Safetensors Weight Loading model.cpp CreateBuffer buffer overflow
Remote attackers can trigger a buffer overflow in fastllm's Safetensors weight loading, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-112107?
CVE-2026-112107 is a medium-severity memory corruption vulnerability in ztxz16 fastllm, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2026-112107?
How do I fix CVE-2026-112107?
No fix has been published for CVE-2026-112107 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-112107 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-112107 exists.
Sources
Also known as GHSA-4xjv-j4pr-6vxm.