# CVE-2025-2953: PyTorch torch.mkldnn_max_pool2d denial of service

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-03-30T15:31:04.853Z
- Modified: 2026-09-10T03:50:22.781Z
- Also known as: GHSA-3749-ghw9-m3mg, BIT-PYTORCH-2025-2953, PYSEC-2025-191
- Weaknesses: CWE-404
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- PyTorch: 2.6.0+cu124
- torch (PyPI): before 2.7.1-rc1; up to 2.6.0+cu124
- linuxfoundation pytorch: 2.6.0+cu124
- pytorch (Bitnami): from 2.6.0 before 2.7.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Low `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: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/pytorch/pytorch/issues/149274> (exploit, evidence, issue-tracking, report, web)
- <https://github.com/pytorch/pytorch/issues/149274#issue-2923122269> (exploit, evidence, issue-tracking, report, web)
- <https://vuldb.com/?id.302006> (advisory, technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.302006> (permissions-required, report, signature, vdb-entry, web)
- <https://vuldb.com/?submit.521279> (advisory, third-party-advisory, vdb-entry, web)
- <https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models> (related, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2953> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2025-2953](https://www.cve.org/CVERecord?id=CVE-2025-2953), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-3749-ghw9-m3mg](https://github.com/advisories/GHSA-3749-ghw9-m3mg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-2953](https://nvd.nist.gov/vuln/detail/CVE-2025-2953), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-191](https://osv.dev/vulnerability/PYSEC-2025-191), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-PYTORCH-2025-2953](https://osv.dev/vulnerability/BIT-PYTORCH-2025-2953), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-2953 · Whole record: https://cve.day/CVE-2025-2953.json · Rebuilt by cve.day 2026-11-25T22:58:55.690Z
