# CVE-2025-3730: PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-04-16T21:00:17.836Z
- Modified: 2026-09-10T03:50:23.660Z
- Also known as: GHSA-887c-mr87-cxwp, BIT-PYTORCH-2025-3730, PYSEC-2026-1970
- Weaknesses: CWE-404
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- PyTorch: 2.6.0
- torch (PyPI): before 2.8.0
- linuxfoundation pytorch: 2.6.0
- pytorch (Bitnami): from 2.6.0 before 2.7.0

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P`
- GitHub: CVSS:3.1 3.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: 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: rating Medium

## References

- <https://vuldb.com/?submit.553645> (exploit, advisory, third-party-advisory, vdb-entry, web)
- <https://github.com/pytorch/pytorch/issues/150835> (exploit, advisory, issue-tracking, vendor-advisory, web)
- <https://github.com/pytorch/pytorch/issues/150835#issue-2979082232> (exploit, advisory, issue-tracking, vendor-advisory)
- <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://github.com/pytorch/pytorch/pull/150981> (fix, issue-tracking, patch, web)
- <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

- CVE List: [CVE-2025-3730](https://www.cve.org/CVERecord?id=CVE-2025-3730), CVE Terms of Use, modified 2025-05-22
- GitHub Advisory Database: [GHSA-887c-mr87-cxwp](https://github.com/advisories/GHSA-887c-mr87-cxwp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-3730](https://nvd.nist.gov/vuln/detail/CVE-2025-3730), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1970](https://osv.dev/vulnerability/PYSEC-2026-1970), CC-BY-4.0, modified 2026-07-07
- Bitnami Vulnerability Database: [BIT-PYTORCH-2025-3730](https://osv.dev/vulnerability/BIT-PYTORCH-2025-3730), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-3730 · Whole record: https://cve.day/CVE-2025-3730.json · Rebuilt by cve.day 2026-11-25T22:58:56.666Z
