PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service
Vulnerability 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 real existence of this vulnerability is still doubted at the moment. The name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue. The security policy of the project warns to use unknown models which might establish malicious effects.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-3730
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Default436352 (VulDB User)
References
- https://vuldb.com/?id.305076
- https://vuldb.com/?ctiid.305076
- https://vuldb.com/?submit.553645
- https://github.com/pytorch/pytorch/issues/150835
- https://github.com/pytorch/pytorch/pull/150981
- https://github.com/pytorch/pytorch/issues/150835#issue-2979082232
- https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567