CVE-2025-65213 Deserialization in n/a

Critical 9.8 Published Updated

An unsafe deserialization vulnerability in torch_musa allows attackers to execute arbitrary code via malicious pickle files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65213?

CVE-2025-65213 is a critical unsafe deserialization vulnerability in n/a, published on 15 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2025-65213?

It affects 1 product.

Products include Mthreads Torch Musa.

How do I fix CVE-2025-65213?

No fix has been published for CVE-2025-65213 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-65213 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65213 exists.

Sources

Also known as GHSA-xwm2-q66g-h4xf.

Is CVE-2025-65213 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free