CVE-2025-65213 Details
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.
A vulnerability allowing unsafe deserialization has been identified in the MooreThreads torch_musa library, specifically within the utility module 'torch_musa.utils.compare_tool'. This vulnerability exists in all versions of the library. The issue arises in two functions, 'compare_for_single_op' and 'nan_inf_track_for_single_op', which use 'pickle.load()' to deserialize user-controlled file paths without proper validation. This flaw enables arbitrary code execution, as an attacker can create a malicious pickle file that executes Python code when loaded, potentially leading to remote code execution with the privileges of the victim process.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MooreThreads/torch_musa/issues/110#issuecomment-3475809588 | [email protected] | ExploitIssue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| mthreads torch musa | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 7, 2026 | Initial Analysis | [email protected] |
| Dec 15, 2025 | New CVE Received | [email protected] |
| Dec 15, 2025 | CVE Modified | CISA-ADP |