CVE-2025-65213CWE-502insecure-deserialization

CVE-2025-65213

Critical · published December 16, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
54.0
In the wild
Unconfirmed
What it is

🚨 An unsafe deserialization vulnerability in MooreThreads torch_musa could let crafty attackers execute arbitrary code with a mere pickle file! 🔥 Think of it like a restaurant that accepts takeout orders without checking the contents — one bad delivery could lead to a disaster in the kitchen! 🍽️ An attacker could send a manipulated pickle file, and once it's opened, the attacker could run any code with the same privileges as the victim process — potentially devastating for your system! Imagine losing control over your application and opening the door wide for malicious activities.

Put simply

Think of it like a restaurant that accepts takeout orders without checking the contents — one bad delivery could lead to a disaster in the kitchen! 🍽️ This vulnerability occurs because the compare_for_single_op() and nan_inf_track_for_single_op() functions in torch_musa blindly load user-controlled pickle files without validation, allowing attackers to craft a file that executes Python code upon loading.

What to do

An attacker could send a manipulated pickle file, and once it's opened, the attacker could run any code with the same privileges as the victim process — potentially devastating for your system! Imagine losing control over your application and opening the door wide for malicious activities. To safeguard against this flaw, update to the latest version of MooreThreads torch_musa immediately. Also, ensure that any user-uploaded files are validated before being processed, and avoid using pickle.load() on untrusted data. 🔒 You’ve got this! By taking these steps, you can secure your environment and keep those pickles out of your code! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00737 · 54.0th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-12-16T00:16Z
Affected products (1)
ProductVersionsFixed in
mthreads/torch_musaall versions—
References (1)
EPSS history
Timeline
  • 15 DEC 00:00Z
    MooreThreads torch_musa through all versions contains an unsafe deserialization vulnerability in torch_musa.utils.compare_tool
    cvelistv5