CVE-2025-65213

CRITICAL

Mthreads Torch Musa - Insecure Deserialization

Title source: rule

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.

Scores

CVSS v3 9.8
EPSS 0.0057
EPSS Percentile 68.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-502
Status published

Affected Products (1)

mthreads/torch_musa

Timeline

Published Dec 15, 2025
Tracked Since Feb 18, 2026