Description

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.

INFO

Published Date :

2025-05-01T17:20:41.020Z

Last Modified :

2025-05-02T17:29:45.664Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2025-46567 vulnerability.

Vendors Products
Hiyouga
  • Llama-factory
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-46567.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact