CVE-2025-65213
Last modified
CVE-2025-65213 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mthreads | Torch Musa | All versions |
References
- https://github.com/MooreThreads/torch_musa/issues/110#issuecomment-3475809588Exploit, Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-65213?
How severe is CVE-2025-65213?
How do I fix CVE-2025-65213?
Are you affected by CVE-2025-65213?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
