Vulnerability in Pytorch
CVE-2025-4287
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 8.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Pytorch — versions 2.6.0+cu124
Weakness classification (CWE)
References
- VDB-307394 | PyTorch nccl.py torch.cuda.nccl.reduce denial of service (technical-description, vdb-entry)
- 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)
- github.com/pytorch/pytorch/issues/150836 (issue-tracking)
- github.com/pytorch/pytorch/pull/150923 (issue-tracking)
- github.com/pytorch/pytorch/issues/150836 (issue-tracking, exploit)
- github.com/Divigroup-RAP/PYTORCH/commit/5827d2061dcb4acd05ac5f8e65d8693a481ba0f5 (patch)