CVE Catalog

CVE-2025-65213

Critical
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk is critical because an attacker can execute arbitrary code in the context of the victim process, potentially leading to full system compromise.

Recommendation

Avoid using compare_tool functions with untrusted files and update torch_musa if a patch is available.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS