CVE-2025-3730
PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service
- State
- Published
- Severity
- 4.8 Medium
- Published
- Apr 16, 2025
- Updated
- May 22, 2025
- Reserved
- Apr 16, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P | VulDB |
Weaknesses
- CWE-404 Denial of Service
Affected Products
| Product | Versions |
|---|---|
PyTorchn/a |
|
References
- VDB-305076 | PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of servicevdb-entrytechnical-description
- VDB-305076 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #553645 | pytorch pytorch (in torch.nn.functional.ctc_loss) 2.6.0 Denial of Servicethird-party-advisory
- https://github.com/pytorch/pytorch/issues/150835issue-tracking
- https://github.com/pytorch/pytorch/pull/150981issue-tracking
- https://github.com/pytorch/pytorch/issues/150835#issue-2979082232exploitissue-tracking
- https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.