9.8critical
MooreThreads torchmusa through all versions contains an unsafe deserialization vulnerability in torchmusa.utils.comparetool.
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.79% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
MooreThreads torch_musa through all versions contains an unsafe deserialization vulnerability in torch_musa.utils.compare_tool. The compare_for_single_op() and nan_inf_track_for_single_op() functions use pickle.load() on user-controlled file paths without validation, allowing arbitrary code execution. An attacker can craft a malicious pickle file that executes arbitrary Python code when loaded, enabling remote code execution with the privileges of the victim process.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mthreads torch_musa | Not specified | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
MooreThreads torch_musa through all versions contains an unsafe deserialization vulnerability in torch_musa.utils.compare_tool. The compare_for_single_op() and nan_inf_track_for_single_op() functions use pickle.load() on user-controlled file paths without validation, allowing arbitrary code execution. An attacker can craft a malicious pickle file that executes arbitrary Python code when loaded, enabling remote code execution with the privileges of the victim process.
NVD (es)
MooreThreads torch_musa en todas sus versiones contiene una vulnerabilidad de deserialización insegura en torch_musa.utils.compare_tool. Las funciones compare_for_single_op() y nan_inf_track_for_single_op() utilizan pickle.load() en rutas de archivo controladas por el usuario sin validación, lo que permite la ejecución de código arbitrario. Un atacante puede crear un archivo pickle malicioso que ejecuta código Python arbitrario al cargarse, lo que permite la ejecución remota de código con los privilegios del proceso víctima.
References
| https://github.com/MooreThreads/torch_musa/issues/110#issuecomment-3475809588 | exploit, issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-65213 changed 2025-12-15 | CVE Terms of Use |
| NVD | CVE-2025-65213 changed 2026-10-14 | Public domain |