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

Published Mar 30, 2025
·
Updated

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Affected by this issue is the function torch.mkldnnmaxpool2d. 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.

Other sources

PyTorch torch.mkldnnmaxpool2d denial of service

Microsoft

Affected Software

5 affected componentsFixes available
Meta PyTorch>=2.6.0+cu124
linuxfoundation Pytorch Python=2.6.0\+cu124
pip/torch<2.7.1-rc1
2.7.1-rc1
Microsoft cbl2 pytorch 2.0.0-9<2.0.0-9
2.0.0-9
Microsoft azl3 pytorch 2.2.2-7<2.2.2-7
2.2.2-7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/torch to a version that resolves this vulnerability.

    Fixed in 2.7.1-rc1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.0.0-9
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.2.2-7

Event History

Mar 30, 2025
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 PM
May 27, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-2953?

CVE-2025-2953 is classified as a problematic vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2025-2953?

To mitigate CVE-2025-2953, upgrade to the latest version of PyTorch that addresses this vulnerability.

3

Which versions of PyTorch are affected by CVE-2025-2953?

CVE-2025-2953 affects PyTorch version 2.6.0+cu124 and possibly earlier versions.

4

What type of attack is associated with CVE-2025-2953?

The attack associated with CVE-2025-2953 leads to a denial of service and must be approached locally.

5

What function in PyTorch is impacted by CVE-2025-2953?

CVE-2025-2953 specifically impacts the function torch.mkldnn_max_pool2d in PyTorch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203