CVE-2025-46567
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 14% of all known CVEs.
References
Related Vulnerabilities
Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-0669 | High | 7.2 | 100% | KEV + Ransom | Fix |
| CVE-2021-44228 | Critical | 10.0 | 100% | KEV + Ransom | Fix |
| CVE-2021-35464 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2023-29300 | Critical | 9.8 | 100% | KEV + Ransom | - |
| CVE-2025-53770 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2022-47986 | Critical | 9.8 | 100% | KEV + Ransom | - |
Embed a live status badge for CVE-2025-46567
Markdown
[](https://tridentstack.com/cve/CVE-2025-46567)HTML
<a href="https://tridentstack.com/cve/CVE-2025-46567"><img src="https://tridentstack.com/cve/badge/CVE-2025-46567.svg" alt="CVE-2025-46567"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-06-17.