Vulnerability · Published May 5, 2025 · Assigned by VulDB
CVE-2025-4287PyTorch nccl.py torch.cuda.nccl.reduce denial of service
Low 3.3
In plain English
A low-severity security flaw in PyTorch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2025-4287 |
| Debian:13 | pytorch | no fix listed | DEBIAN-CVE-2025-4287 |
| Debian:14 | pytorch | no fix listed | DEBIAN-CVE-2025-4287 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-4287 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2025-4287 |
| Ubuntu:26.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-4287 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2025-4287 |
Affected products (as reported)
Weakness: CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- VDB-307394 | PyTorch nccl.py torch.cuda.nccl.reduce denial of service vdb-entry, technical-description
- VDB-307394 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #553644 | pytorch pytorch (in torch.cuda.nccl.reduce) 2.6.0 Denial of Service third-party-advisory
- https://github.com/pytorch/pytorch/issues/150836 issue-tracking
- https://github.com/pytorch/pytorch/pull/150923 issue-tracking
- https://github.com/pytorch/pytorch/issues/150836#issue-2979097872 exploit, issue-tracking
- https://github.com/Divigroup-RAP/PYTORCH/commit/5827d2061dcb4acd05ac5f8e65d8693a481ba0f5 patch