Skip to content
LLMHigh

CVE-2025-46567: LLama Factory enables fine-tuning of large language models. Prior to version 1.0.0, a critical vulne…

Occurred
May 1, 2025
Published
May 1, 2025
Source
NVD CVE

Summary

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.

Tags

  • CVE
  • CVE-2025-46567
  • cvss:MEDIUM

Classification

Category confidence: 90%
Severity confidence: 85%

Rationale: LLM fine-tuning tool vulnerability allows arbitrary code execution via insecure deserialization.

Classifier: Qwen/Qwen3.5-35B-A3B-FP8

Visit source