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.
References
| Link | Resource |
|---|---|
| https://github.com/MooreThreads/torch_musa/issues/110#issuecomment-3475809588 | Exploit Issue Tracking |
Configurations
History
No history.
Information
Published : 2025-12-15 19:16
Updated : 2026-01-07 20:51
NVD link : CVE-2025-65213
Mitre link : CVE-2025-65213
CVE.ORG link : CVE-2025-65213
JSON object : View
Products Affected
mthreads
- torch_musa
CWE
CWE-502
Deserialization of Untrusted Data
