# CVE-2025-4287: PyTorch nccl.py torch.cuda.nccl.reduce 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.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-05T20:00:11.130Z
- Modified: 2026-06-17T09:32:56.777Z
- Weaknesses: CWE-404
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. Affected by this issue is the function torch.cuda.nccl.reduce of the file torch/cuda/nccl.py. The manipulation leads to denial of service. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as 5827d2061dcb4acd05ac5f8e65d8693a481ba0f5. It is recommended to apply a patch to fix this issue.

(As written by CVE List.)

## Affected

- PyTorch: 2.6.0+cu124

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

## References

- <https://github.com/pytorch/pytorch/issues/150836#issue-2979097872> (exploit, issue-tracking)
- <https://vuldb.com/?id.307394> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.307394> (permissions-required, signature)
- <https://vuldb.com/?submit.553644> (third-party-advisory)
- <https://github.com/pytorch/pytorch/issues/150836> (issue-tracking)
- <https://github.com/pytorch/pytorch/pull/150923> (issue-tracking)
- <https://github.com/Divigroup-RAP/PYTORCH/commit/5827d2061dcb4acd05ac5f8e65d8693a481ba0f5> (patch)

## Sources

- CVE List: [CVE-2025-4287](https://www.cve.org/CVERecord?id=CVE-2025-4287), CVE Terms of Use, modified 2025-05-06
- NVD: [CVE-2025-4287](https://nvd.nist.gov/vuln/detail/CVE-2025-4287), Public domain, modified 2026-06-17

---

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