SB2025092679 - Improper resource shutdown or release in PyTorch
Published: September 26, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Improper resource shutdown or release (CVE-ID: CVE-2025-4287)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources in the function torch.cuda.nccl.reduce() of the file torch/cuda/nccl.py. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://github.com/Divigroup-RAP/PYTORCH/commit/5827d2061dcb4acd05ac5f8e65d8693a481ba0f5
- https://github.com/pytorch/pytorch/issues/150836
- https://github.com/pytorch/pytorch/issues/150836#issue-2979097872
- https://github.com/pytorch/pytorch/pull/150923
- https://vuldb.com/?ctiid.307394
- https://vuldb.com/?id.307394
- https://vuldb.com/?submit.553644