AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

PyTorchGHSA-887c-mr87-cxwp

PyTorch Improper Resource Shutdown or Release vulnerability

PyTorch

CVE-2025-3730 · Published Apr 16, 2025 · updated Sep 10, 2026

Medium3.3
Fix: upgrade to 2.8.0 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
torch
PyPI
< 2.8.02.8.0
Details and references

More PyTorch advisories

All PyTorch