cve.bz

CVE-2025-46567

7.8 highEPSS 0.3%

High (7.8) in hiyouga llama-factory. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in llamafactory 0.9.3.

LLama Factory enables fine-tuning of large language models. Prior to version 1.0.0, a critical vulnerability exists in the `llamafy_baichuan2.py` script of the LLaMA-Factory project. The script performs insecure deserialization using `torch.load()` on user-supplied `.bin` files from an input directory. An attacker can exploit this behavior by crafting a malicious `.bin` file that executes arbitrary commands during deserialization. This issue has been patched in version 1.0.0.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 21% of CVEs (scores of 2026-10-31)
CWE
CWE-502
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f2f7-gj54-6vpvPyPIllamafactory<0.9.30.9.3
PYSEC-2026-1574PyPIllamafactory<0.9.30.9.3

References

Check your stackJSON