VYPR
Medium severity6.1NVD Advisory· Published May 1, 2025· Updated Jun 17, 2026

CVE-2025-46567

CVE-2025-46567

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
llamafactoryPyPI
< 0.9.30.9.3

Affected products

3
  • cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*range: <1.0.0
    • (no CPE)range: < 1.0.0
  • ghsa-coords
    Range: < 0.9.3

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.