CVE-2025-3730
JSON

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 packageVersionsReported by
PyTorch2.6.0CVE List
torch (PyPI)before 2.8.0GitHub Advisory Database, PyPA Advisory Database
linuxfoundation pytorch2.6.0NVD
pytorch (Bitnami)from 2.6.0 before 2.7.0Bitnami Vulnerability Database

All scores

VulDB4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulDB3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
VulDB3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
VulDB1.7low CVSS:2.0AV:L/AC:L/Au:S/C:N/I:N/A:P
GitHub3.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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 Databasemedium rating

Classification

CWE-404

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.305076advisory, technical-description, third-party-advisory, vdb-entry, web
https://vuldb.com/?ctiid.305076permissions-required, report, signature, vdb-entry, web
https://vuldb.com/?submit.553645advisory, exploit, third-party-advisory, vdb-entry, web
https://github.com/pytorch/pytorch/issues/150835advisory, exploit, issue-tracking, vendor-advisory, web
https://github.com/pytorch/pytorch/pull/150981fix, issue-tracking, patch, web
https://github.com/pytorch/pytorch/issues/150835#issue-2979082232advisory, exploit, issue-tracking, vendor-advisory
https://github.com/timocafe/tewart-pytorch/commit/46fc5d8e360127361211cb237d5f9eef0223e567fix, patch, web
https://nvd.nist.gov/vuln/detail/CVE-2025-3730advisory, web
https://github.com/pytorch/pytorch/commit/01f226bfb8f2c343f5c614a6bbf685d91160f3afweb
https://github.com/pytorch/pytorchpackage
https://pypi.org/project/torchpackage
https://github.com/advisories/GHSA-887c-mr87-cxwpadvisory

Sources

SourceRecordLicence
CVE ListCVE-2025-3730 changed 2025-05-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-887c-mr87-cxwp changed 2026-09-10CC-BY-4.0
NVDCVE-2025-3730 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1970 changed 2026-07-07CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PYTORCH-2025-3730 changed 2026-09-08Apache-2.0