GitHub Advisoryadvisory · PyPI

GHSA-887c-mr87-cxwp PyTorch Improper Resource Shutdown or Release vulnerability

MEDIUM Published 2025-04-16 Modified 2025-09-02 Official page ↗
Aliases
CVE-2025-3730
Ecosystem
PyPI
Packages
torch
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-404
Reviewed
2025-04-16

Affected packages

• PyPI torch: < 2.8.0 → fixed in 2.8.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-3730 A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. vulnerability

Weakness · CWE (1)

  • CWE-404 Improper Resource Shutdown or Release weakness

References