Deserialization of Untrusted Data Affecting pytorch-2.5 package, versions <2.5.1+e1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.37% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYTORCH25-22576263
  • published17 Nov 2026
  • disclosed18 Apr 2025

Introduced: 18 Apr 2025

CVE-2025-32434  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Echo:latest pytorch-2.5 to version 2.5.1+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pytorch-2.5 package and not the pytorch-2.5 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.

CVSS Base Scores

version 3.1