Improper resource shutdown or release in PyTorch - CVE-2025-3730

 

Improper resource shutdown or release in PyTorch - CVE-2025-3730

Published: May 13, 2025


Vulnerability identifier: #VU109002
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-3730
CWE-ID: CWE-404
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: pytorch
Affected software:
PyTorch

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists in the function torch.nn.functional.ctc_loss of the file aten/src/ATen/native/LossCTC.cpp. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-3730

Install updates from vendor's website.

Sources