CVE-2025-3730

Public Exploit
PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service

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.

Category

4.8
CVSS
Severity: Medium
CVSS 4.0 •
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.02%
Vendor Advisory github.com Vendor Advisory github.com
Affected: n/a PyTorch
Published at:
Updated at:

References

Link Tags
https://vuldb.com/?id.305076 third party advisory technical description vdb entry
https://vuldb.com/?ctiid.305076 signature vdb entry permissions required
https://vuldb.com/?submit.553645 exploit third party advisory vdb entry
https://github.com/pytorch/pytorch/issues/150835 vendor advisory issue tracking exploit
https://github.com/pytorch/pytorch/pull/150981 issue tracking patch
https://github.com/pytorch/pytorch/issues/150835#issue-2979082232 vendor advisory issue tracking exploit
https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567 patch

Frequently Asked Questions

What is the severity of CVE-2025-3730?
CVE-2025-3730 has been scored as a medium severity vulnerability.
How to fix CVE-2025-3730?
To fix CVE-2025-3730, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-3730 being actively exploited in the wild?
It is possible that CVE-2025-3730 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-3730?
CVE-2025-3730 affects n/a PyTorch.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.