VDB

CVE-2025-2953

CVE-2025-2953 PUBLISHED CVSS 4.8 MEDIUM

PyTorch torch.mkldnn_max_pool2d denial of service

Reported by vuldb · Published March 30, 2025

torch is fixed in 2.7.1-rc1 and 2.6.0+cu124 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
torchPyPI2.7.1-rc1, 2.6.0+cu124
pytorchBitnami2.7.0
py3-torch-cuda-12.4Chainguard2.7.1-r0
py3-torch-cuda-12.6Chainguard2.7.1-r0
pytorchBitnami2.7.0

Risk scores

CVSS 4.0
4.8
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

Affected products

VendorProductVersions
n/aPyTorch2.6.0+cu124
chainguardpy3-torch-cuda-12.40
chainguardpy3-torch-cuda-12.60
n/aPyTorch2.6.0+cu124
PyPItorch0

Timeline

  • Mar 30, 2025 CVE Published
  • Mar 30, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Mar 31, 2025 EPSS Score (30 in total, the first dated here)
  • Apr 22, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-2953
vulnetix vdb fixes CVE-2025-2953

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-2953/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›