CVE-2025-4287: PyTorch nccl.py torch.cuda.nccl.reduce denial of service

Published May 5, 2025
·
Updated

A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. Affected by this issue is the function torch.cuda.nccl.reduce of the file torch/cuda/nccl.py. The manipulation leads to denial of service. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as 5827d2061dcb4acd05ac5f8e65d8693a481ba0f5. It is recommended to apply a patch to fix this issue.

Affected Software

2 affected components
Meta PyTorch
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.2.2, 5.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pytorch to a version that resolves this vulnerability.

    Patch 5827d2061dcb4acd05ac5f8e65d8693a481ba0f5
  2. Compensating control

    Since the issue can be exploited on the local host to cause denial of service, restrict local access to the system running PyTorch (e.g., limit who can run or trigger code paths that use torch.cuda.nccl.reduce).

Event History

May 5, 2025
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Jun 24, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-4287?

CVE-2025-4287 is rated as problematic.

2

How do I fix CVE-2025-4287?

To fix CVE-2025-4287, update PyTorch to a version that contains the patch for this vulnerability.

3

What type of attack does CVE-2025-4287 enable?

CVE-2025-4287 enables a denial of service attack on the local host.

4

Which function is affected by CVE-2025-4287?

The function affected by CVE-2025-4287 is torch.cuda.nccl.reduce.

5

What versions of PyTorch are affected by CVE-2025-4287?

CVE-2025-4287 affects PyTorch version 2.6.0 and later with CUDA 12.4.

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