Arbitrary Code Injection Affecting pytorch package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.71% (51st 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-15133880
  • published29 Jan 2026
  • disclosed27 Jan 2026

Introduced: 27 Jan 2026

CVE-2026-24747  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 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:11 relevant fixed versions and status.

PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's weights_only unpickler allows an attacker to craft a malicious checkpoint file (.pth) that, when loaded with torch.load(..., weights_only=True), can corrupt memory and potentially lead to arbitrary code execution. Version 2.10.0 fixes the issue.