Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. torch
  4. ›
  5. CVE-2025-3730

CVE-2025-3730: PyTorch Improper Resource Shutdown or Release vulnerability

April 16, 2025

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 name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue.

References

  • github.com/advisories/GHSA-887c-mr87-cxwp
  • github.com/pytorch/pytorch
  • github.com/pytorch/pytorch/commit/01f226bfb8f2c343f5c614a6bbf685d91160f3af
  • github.com/pytorch/pytorch/issues/150835
  • github.com/pytorch/pytorch/pull/150981
  • nvd.nist.gov/vuln/detail/CVE-2025-3730
  • vuldb.com/?ctiid.305076
  • vuldb.com/?id.305076
  • vuldb.com/?submit.553645

Code Behaviors & Features

Detect and mitigate CVE-2025-3730 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.6.0

Solution

Unfortunately, there is no solution available yet.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-404: Improper Resource Shutdown or Release

Source file

pypi/torch/CVE-2025-3730.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.