{"id":"CVE-2025-2953","published":"2025-03-30T15:31:04Z","modified":"2025-04-22T11:36:56Z","title":"PyTorch torch.mkldnn_max_pool2d denial of service","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00261,"percentile":0.18165,"provenance":"source"},"cwes":[{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"references":[{"url":"https://vuldb.com/?id.302006","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.302006","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.521279","tags":["third-party-advisory"]},{"url":"https://github.com/pytorch/pytorch/issues/149274","tags":["issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/issues/149274#issue-2923122269","tags":["exploit","issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models","tags":["related"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":3.63},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":2.31}]},"affectedVersions":[{"vendor":"n/a","product":"PyTorch","versions":["2.6.0+cu124"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-31T13:06:10.348201Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torch","vulnerableRanges":["<2.7.1-rc1","<=2.6.0+cu124"],"patched":["2.7.1-rc1"],"from":["GHSA-3749-ghw9-m3mg","PYSEC-2025-191"],"provenance":"source"}],"summary":{"text":"The flaw lies in the torch.mkldnn_max_pool2d function of PyTorch 2.6.0+cu124, where improper resource shutdown or release can be triggered by manipulated input. An attacker with local access and low privileges, who can supply input to this function (for example by loading a crafted model), can cause a denial of service, with no user interaction required and no particular configuration needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:37Z"},"euvd":{"id":"EUVD-2025-8684","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pytorch/pytorch/issues/149274#issue-2923122269"]}