CVE-2025-4287
PyTorch nccl.py torch.cuda.nccl.reduce denial of service
- State
- Published
- Severity
- 4.8 Medium
- Published
- May 5, 2025
- Updated
- May 6, 2025
- Reserved
- May 5, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 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 |
| 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 |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P | VulDB |
Weaknesses
- CWE-404 Denial of Service
Affected Products
| Product | Versions |
|---|---|
PyTorchn/a |
|
References
- VDB-307394 | PyTorch nccl.py torch.cuda.nccl.reduce denial of servicevdb-entrytechnical-description
- VDB-307394 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #553644 | pytorch pytorch (in torch.cuda.nccl.reduce) 2.6.0 Denial of Servicethird-party-advisory
- https://github.com/pytorch/pytorch/issues/150836issue-tracking
- https://github.com/pytorch/pytorch/pull/150923issue-tracking
- https://github.com/pytorch/pytorch/issues/150836#issue-2979097872exploitissue-tracking
- https://github.com/Divigroup-RAP/PYTORCH/commit/5827d2061dcb4acd05ac5f8e65d8693a481ba0f5patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.