---
id: CVE-2025-2953
aliases:
  - GHSA-3749-ghw9-m3mg
  - BIT-pytorch-2025-2953
  - PYSEC-2025-191
title: PyTorch susceptible to local Denial of Service
summary: PyTorch susceptible to local Denial of Service
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'
vendor: torch
product: torch
ecosystem: pip
affected:
  - torch < 2.7.1-rc1
patched:
  - torch 2.7.1-rc1
published: '2025-03-30'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:22.781448235Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3749-ghw9-m3mg'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-2953'
  - url: 'https://github.com/pytorch/pytorch/issues/149274'
  - url: 'https://github.com/pytorch/pytorch/issues/149274#issue-2923122269'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2025-191.yaml
  - url: 'https://github.com/pytorch/pytorch'
  - url: 'https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models'
  - url: 'https://vuldb.com/?ctiid.302006'
  - url: 'https://vuldb.com/?id.302006'
  - url: 'https://vuldb.com/?submit.521279'
tags:
  - osv
  - pip
epss: 0.00256
epssPercentile: 0.17481
ingestedAt: '2026-09-12T03:13:01.643Z'
---

## Overview

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.

## Affected packages

- `torch < 2.7.1-rc1`

## Remediation

Upgrade to a patched release:

- `torch 2.7.1-rc1`
