CVE-2025-2953: linuxfoundation pytorch Improper Resource Shutdown or Release
Vulnerability summary
CVE-2025-2953 is a medium (CVSS 5.5) Improper Resource Shutdown or Release vulnerability in linuxfoundation pytorch. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 30-03-2025PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
12 scores · 6 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST4.8MediumCVSS: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
- CVE.orgCNA3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · PypiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST1.7LowAV:L/AC:L/Au:S/C:N/I:N/A:P
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
0.00 pp
From 0.26% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPytorch
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard39 products
- libtorch-cuda-12.4< 2.7.1-r0
- libtorch-cuda-12.4-dev< 2.7.1-r0
- libtorch-cuda-12.6< 2.7.1-r0
- libtorch-cuda-12.6-dev< 2.7.1-r0
- py3-supported-torch-cuda-12.4< 2.7.1-r0
Debian1 product
- pytorchAll versions (No fix recorded)
Linuxfoundation1 product
- pytorch2.6.0\+cu124
PyPI1 product
- torch< 2.7.1-rc1 | ≤ 2.6.0+cu124
Ubuntu1 product
- pytorchAll versions (No fix recorded)
5 vendors · 43 products
References
13 links- github.com/pytorch/pytorchPACKAGE