CVE-2025-3730
MEDIUM 4.8CVSS 4.0PyTorch Improper Resource Shutdown or Release vulnerability
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.
- Published
- 16 Apr 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-404
- Also known as
- BIT-pytorch-2025-3730GHSA-887c-mr87-cxwpPYSEC-2026-1970
- Sources
- NVDJSONOSV GHSA-887c-mr87-cxwpJSONOSV PYSEC-2026-1970JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 4.8 | 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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.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 | |
| OSV | PyPA | CVSS 4.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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 1.7 | AV:L/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | pytorchcpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:* |
= 2.6.0 | |
| OSV | PyPI | torch | < 2.8.0 | 2.8.0 |
References
- https://github.com/pytorch/pytorch/issues/150835 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://github.com/pytorch/pytorch/issues/150835#issue-2979082232 · Exploit, Issue Tracking, Vendor Advisory
- https://github.com/pytorch/pytorch/pull/150981 · Issue Tracking, Patch, WEB
- https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567 · Patch, WEB
- https://vuldb.com/?ctiid.305076 · Permissions Required, VDB Entry, WEB
- https://vuldb.com/?id.305076 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/?submit.553645 · Exploit, Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-3730 · ADVISORY
- https://github.com/pytorch/pytorch/commit/01f226bfb8f2c343f5c614a6bbf685d91160f3af · WEB
- https://github.com/pytorch/pytorch · PACKAGE
- https://pypi.org/project/torch · PACKAGE
- https://github.com/advisories/GHSA-887c-mr87-cxwp · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 16 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2025)