Deserialization of Untrusted Data Affecting pytorch package, versions *


Severity

Recommended
low

Based on Debian security rating.

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-DEBIAN12-PYTORCH-9788066
  • 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?

There is no fixed version for Debian:12 pytorch.

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:12 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