PyTorchGHSA-3749-ghw9-m3mg
PyTorch susceptible to local Denial of Service
Fix: upgrade to 2.7.1-rc1 or later
A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Affected by this issue is the function torch.mkldnn_max_pool2d. The manipulation leads to denial of service. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| torch PyPI | < 2.7.1-rc1 | 2.7.1-rc1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-404
- Also known as
- BIT-pytorch-2025-2953, CVE-2025-2953, PYSEC-2025-191
- nvd.nist.gov/vuln/detail/CVE-2025-2953
- github.com/pytorch/pytorch/issues/149274
- github.com/pytorch/pytorch/issues/149274#issue-2923122269
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-191.yaml
- github.com/pytorch/pytorch
- github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models
- vuldb.com/?ctiid.302006
- vuldb.com/?id.302006
- vuldb.com/?submit.521279