LOW 3.3 PyPI

PyTorch Improper Resource Shutdown or Release vulnerability

GHSA-887c-mr87-cxwp · BIT-pytorch-2025-3730 · CVE-2025-3730 · PYSEC-2026-1970

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes