{"id":"CVE-2025-2953","aliases":["CVE-2025-2953","GHSA-3749-ghw9-m3mg","BIT-PYTORCH-2025-2953","PYSEC-2025-191"],"related":[],"kind":"vulnerability","state":"published","title":"PyTorch torch.mkldnn_max_pool2d denial of service","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"de","text":"Eine problematische Schwachstelle wurde in PyTorch 2.6.0+cu124 entdeckt. Es geht hierbei um die Funktion torch.mkldnn_max_pool2d. Dank Manipulation mit unbekannten Daten kann eine denial of service-Schwachstelle ausgenutzt werden. Der Angriff muss lokal passieren. Der Exploit steht zur öffentlichen Verfügung. Bisher konnte die Existenz der vermeintlichen Schwachstelle noch nicht eindeutig nachgewiesen werden.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad clasificada como problemática en PyTorch 2.6.0+cu124. La función torch.mkldnn_max_pool2d se ve afectada por este problema. La manipulación provoca una denegación de servicio. Un ataque debe abordarse localmente. Se ha hecho público el exploit y puede que sea utilizado.","source":"nvd"}],"published":"2025-03-30T15:31:04.853Z","modified":"2026-09-10T03:50:22.781Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P","score":1.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-404"],"affected":[{"ranges":[{"version":"2.6.0+cu124","status":"affected"}],"product":"PyTorch","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.7.1-rc1"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.6.0+cu124"}],"vendor":"linuxfoundation","product":"pytorch","cpe":"cpe:2.3:a:linuxfoundation:pytorch:2.6.0\\+cu124:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.6.0+cu124"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.6.0","status":"affected","fixed":"2.7.0"}],"ecosystem":"Bitnami","package":"pytorch","purl":"pkg:bitnami/pytorch","source":"bitnami"}],"references":[{"url":"https://vuldb.com/?id.302006","tags":["advisory","technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/?ctiid.302006","tags":["permissions-required","report","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/?submit.521279","tags":["advisory","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/issues/149274","tags":["evidence","exploit","issue-tracking","report","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/issues/149274#issue-2923122269","tags":["evidence","exploit","issue-tracking","report","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models","tags":["related","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2953","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-191.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pytorch/pytorch","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-3749-ghw9-m3mg","tags":["advisory"],"sources":["pysec"]}],"credits":["Default436352 (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-31T13:06:10.348Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-2953","url":"https://www.cve.org/CVERecord?id=CVE-2025-2953","licence":"CVE Terms of Use","modified":"2025-04-22T11:36:56.085Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3749-ghw9-m3mg","url":"https://github.com/advisories/GHSA-3749-ghw9-m3mg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:22.781Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-2953","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2953","licence":"Public domain","modified":"2026-06-17T09:07:54.597Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-191","url":"https://osv.dev/vulnerability/PYSEC-2025-191","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:35.808Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTORCH-2025-2953","url":"https://osv.dev/vulnerability/BIT-PYTORCH-2025-2953","licence":"Apache-2.0","modified":"2026-09-08T08:48:25.046Z"}],"updatedAt":"2026-11-25T22:58:55.690Z","epss":{"score":0.00261,"percentile":0.1903,"date":"2026-12-01T12:00:22.000Z"}}