Improper resource shutdown or release in PyTorch



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-3730
CWE-ID CWE-404
Exploitation vector Local
Public exploit N/A
Vulnerable software
PyTorch
Universal components / Libraries / Programming Languages & Components

Vendor pytorch

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Improper resource shutdown or release

EUVDB-ID: #VU109002

Risk: Low

CVSSv4.0: 1.1 [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 - Improper Resource Shutdown or Release

Exploit availability: No

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

PyTorch: 2.6.0

CPE2.3 External links

https://github.com/pytorch/pytorch/issues/150835
https://github.com/pytorch/pytorch/issues/150835
https://github.com/pytorch/pytorch/issues/150835#issue-2979082232
https://github.com/pytorch/pytorch/pull/150981
https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567
https://vuldb.com/?ctiid.305076
https://vuldb.com/?id.305076
https://vuldb.com/?submit.553645


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###