CVE-2025-4287PyTorch nccl.py torch.cuda.nccl.reduce denial of service
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pytorch | Fix pending | UBUNTU-CVE-2025-4287 | |
| Ubuntu 26.04 | pytorch | Under investigation | UBUNTU-CVE-2025-4287 | |
| Ubuntu 25.10 | pytorch | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-4287 | |
| Ubuntu 22.04 | pytorch | Under investigation | UBUNTU-CVE-2025-4287 | |
| Debian 14 | pytorch | Fix pending | DEBIAN-CVE-2025-4287 | |
| Debian 13 | pytorch | Fix pending | DEBIAN-CVE-2025-4287 | |
| Debian 12 | pytorch | Fix pending | DEBIAN-CVE-2025-4287 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PyTorch: affected: 2.6.0+cu124
Vendor advisories:
References
- https://vuldb.com/?id.307394
- https://vuldb.com/?ctiid.307394
- https://vuldb.com/?submit.553644
- https://github.com/pytorch/pytorch/issues/150836
- https://github.com/pytorch/pytorch/pull/150923
- https://github.com/pytorch/pytorch/issues/150836#issue-2979097872
- https://github.com/Divigroup-RAP/PYTORCH/commit/5827d2061dcb4acd05ac5f8e65d8693a481ba0f5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.