p PatchFirst

PatchFirst · Latest vulnerabilities

pytorch vulnerabilities

Vulnerabilities published for pytorch in the last 30 days: 0. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 33

  1. CVE-2026-65918

    High · CVSS 7.1EPSS 0.45%No fix published

    PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

    PyTorch torchvision through 0.28.0, fixed in commit 4e05dc2, contains an out-of-bounds heap read vulnerability in the GIF decoder's read_from_tensor callback that passes unclamped length to memcpy. Attackers can supply malicious or truncated GIF files to cause denial of service via segmentation fault or disclose adjacent heap memory contents.

    Published Updated
  2. CVE-2026-31221

    High · CVSS 8.8EPSS 0.55%No fix published

    CVE-2026-31221

    PyTorch-Lightning versions 2.6.0 and earlier contain an insecure deserialization vulnerability (CWE-502) in the checkpoint loading mechanism. The LightningModule.load_from_checkpoint() method, which is commonly used to load saved model states, internally calls torch.load() without setting the security-restrictive weights_only=True parameter. This default behavior allows the deserialization of arbitrary Python objects via the Pickle module. A remote attacker can exploit this by providing a maliciously crafted checkpoint file, leading to arbitrary code execution on the victim's system when the file is loaded.

    Published Updated
  3. CVE-2026-4538

    Medium · CVSS 4.8EPSS 0.44%No fix published

    PyTorch pt2 Loading deserialization

    A vulnerability was identified in PyTorch 2.10.0. The affected element is an unknown function of the component pt2 Loading Handler. The manipulation leads to deserialization. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The project was informed of the problem early through a pull request but has not reacted yet.

    Published Updated
  4. CVE-2026-24747

    High · CVSS 8.8EPSS 0.8%No fix published

    PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

    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.

    Published Updated
  5. CVE-2025-4287

    Medium · CVSS 4.8EPSS 0.19%No fix published

    PyTorch nccl.py torch.cuda.nccl.reduce denial of service

    A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. Affected by this issue is the function torch.cuda.nccl.reduce of the file torch/cuda/nccl.py. The manipulation leads to denial of service. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as 5827d2061dcb4acd05ac5f8e65d8693a481ba0f5. It is recommended to apply a patch to fix this issue.

  6. CVE-2025-3730

    Medium · CVSS 4.8EPSS 0.33%No fix published

    PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service

    A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Affected is the function torch.nn.functional.ctc_loss of the file aten/src/ATen/native/LossCTC.cpp. The manipulation leads to denial of service. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue. The security policy of the project warns to use unknown models which might establish malicious effects.

    Published Updated
  7. CVE-2025-3136

    Medium · CVSS 4.8EPSS 0.26%No fix published

    PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption

    A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0. This issue affects the function torch.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. The manipulation leads to memory corruption. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →