Vulnerability · Published Mar 30, 2025 · Assigned by VulDB
CVE-2025-2953PyTorch torch.mkldnn_max_pool2d denial of service
Low 3.3
In plain English
A low-severity security flaw in PyTorch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2025-2953 |
| Debian:13 | pytorch | no fix listed | DEBIAN-CVE-2025-2953 |
| Debian:14 | pytorch | no fix listed | DEBIAN-CVE-2025-2953 |
| PyPI | torch | 2.7.1-rc1 | GHSA-3749-ghw9-m3mg |
| PyPI | torch | no fix listed | PYSEC-2025-191 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-2953 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2025-2953 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2025-2953 |
Affected products (as reported)
Weakness: CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- VDB-302006 | PyTorch torch.mkldnn_max_pool2d denial of service vdb-entry, technical-description
- VDB-302006 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #521279 | pytorch PyTorch version: 2.6.0+cu124 Floating point exception third-party-advisory
- https://github.com/pytorch/pytorch/issues/149274 issue-tracking
- https://github.com/pytorch/pytorch/issues/149274#issue-2923122269 exploit, issue-tracking
- https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models related