4.8medium
PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-887c-mr87-cxwpBIT-PYTORCH-2025-3730PYSEC-2026-1970
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PyTorch | 2.6.0 | CVE List |
| torch (PyPI) | before 2.8.0 | GitHub Advisory Database, PyPA Advisory Database |
| linuxfoundation pytorch | 2.6.0 | NVD |
| pytorch (Bitnami) | from 2.6.0 before 2.7.0 | Bitnami Vulnerability Database |
All scores
| VulDB | 4.8medium 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 |
| VulDB | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| VulDB | 3.3low CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| VulDB | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P |
| GitHub | 3.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium 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 | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| PyPA Advisory Database | Not scored 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 |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
CVE List (de)
Es wurde eine Schwachstelle in PyTorch 2.6.0 gefunden. Sie wurde als problematisch eingestuft. Hiervon betroffen ist die Funktion torch.nn.functional.ctc_loss der Datei aten/src/ATen/native/LossCTC.cpp. Mit der Manipulation mit unbekannten Daten kann eine denial of service-Schwachstelle ausgenutzt werden. Der Angriff hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung. Die wahre Existenz der vermeintlichen Schwachstelle wird zur Zeit in Frage gestellt. Der Patch wird als 46fc5d8e360127361211cb237d5f9eef0223e567 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
GitHub Advisory Database
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 name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue.
NVD (es)
Se encontró una vulnerabilidad clasificada como problemática en PyTorch 2.6.0. La función torch.nn.functional.ctc_loss del archivo aten/src/ATen/native/LossCTC.cpp está afectada. La manipulación provoca una denegación de servicio. Un ataque debe abordarse localmente. Se ha hecho público el exploit y puede que sea utilizado. El parche se llama 46fc5d8e360127361211cb237d5f9eef0223e567. Se recomienda aplicar un parche para solucionar este problema.
References
| https://vuldb.com/?id.305076 | advisory, technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.305076 | permissions-required, report, signature, vdb-entry, web | |
| https://vuldb.com/?submit.553645 | advisory, exploit, third-party-advisory, vdb-entry, web | |
| https://github.com/pytorch/pytorch/issues/150835 | advisory, exploit, issue-tracking, vendor-advisory, web | |
| https://github.com/pytorch/pytorch/pull/150981 | fix, issue-tracking, patch, web | |
| https://github.com/pytorch/pytorch/issues/150835#issue-2979082232 | advisory, exploit, issue-tracking, vendor-advisory | |
| https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-3730 | advisory, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-3730 changed 2025-05-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-887c-mr87-cxwp changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-3730 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1970 changed 2026-07-07 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PYTORCH-2025-3730 changed 2026-09-08 | Apache-2.0 |