CVE-2025-2953
MEDIUM 4.8CVSS 4.0PyTorch susceptible to local Denial of Service
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. The real existence of this vulnerability is still doubted at the moment. The security policy of the project warns to use unknown models which might establish malicious effects.
- Published
- 30 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-404
- Also known as
- BIT-pytorch-2025-2953GHSA-3749-ghw9-m3mgPYSEC-2025-191
- Sources
- NVDJSONOSV GHSA-3749-ghw9-m3mgJSONOSV PYSEC-2025-191JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 4.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 1.7 | AV:L/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | pytorchcpe:2.3:a:linuxfoundation:pytorch:2.6.0\+cu124:*:*:*:*:python:*:* |
= 2.6.0+cu124 | |
| OSV | PyPI | torch | < 2.7.1-rc1 | 2.7.1-rc1 |
| OSV | PyPI | torch | <= 2.6.0+cu124 |
References
- https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models · WEB
- https://github.com/pytorch/pytorch/issues/149274 · Exploit, Issue Tracking, WEB, REPORT
- https://github.com/pytorch/pytorch/issues/149274#issue-2923122269 · Exploit, Issue Tracking, WEB, REPORT
- https://vuldb.com/?ctiid.302006 · Permissions Required, VDB Entry, WEB, REPORT
- https://vuldb.com/?id.302006 · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://vuldb.com/?submit.521279 · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-2953 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-191.yaml · WEB
- https://github.com/pytorch/pytorch · PACKAGE
- https://github.com/advisories/GHSA-3749-ghw9-m3mg · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 30 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Mar 2025)