PyTorchGHSA-3749-ghw9-m3mg
PyTorch susceptible to local Denial of Service
Low3.3CVE-2025-2953 · Published Mar 30, 2025 · updated Sep 10, 2026
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
More PyTorch advisories
All PyTorch| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Apr 32025 | PyTorch: memory corruption | Low3.3 | No fix yet |
| Apr 22025 | PyTorch: memory corruption | Medium5.5 | No fix yet |
| Mar 312025 | PyTorch is vulnerable to memory corruption through its torch.lstm_cell function | Low5.3 | 2.10.0 |
| Mar 312025 | PyTorch is vulnerable to memory corruption through its unpack_sequence function | Medium5.3 | 2.9.1 |
| Mar 312025 | PyTorch is vulnerable to memory corruption through its torch.jit.script function | Low5.3 | 2.13.0 |
| Mar 312025 | PyTorch is Vulnerable to Memory Consumption through pad_packed_sequence Function | Medium5.3 | No fix yet |