Deserialization in Mthreads Torch Musa

CVE-2025-65213

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 class: Insecure Deserialization

EPSS: 0.006 (46.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-65213?
CVE-2025-65213 is a critical-severity vulnerability in Mthreads Torch Musa, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2025-12-15.
How severe is CVE-2025-65213?
Critical severity. CVSS v3 base score is 9.8 out of 10.