Deserialization of Untrusted Data Affecting pytorch package, versions <1.7.1-7+deb11u1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.94% (78th 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-DEBIAN11-PYTORCH-9788065
  • published20 Apr 2025
  • 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 Debian:11 pytorch to version 1.7.1-7+deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pytorch package and not the pytorch package as distributed by Debian. See How to fix? for Debian:11 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