CVE-2025-3730Linuxfoundation Pytorch
Medium 4.8
Follow: this CVE · Linuxfoundation · Linuxfoundation Pytorch We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 4.8
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-404
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Affected is the function torch.nn.functional.ctc_loss of the file aten/src/ATen/native/LossCTC.cpp. 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 name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue. The security policy of the project warns to use unknown models which might establish malicious effects.
What to do
- Apply the vendor's security update for Pytorch.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | torch |
< 2.8.0 |
2.8.0 |
pip install "torch>=2.8.0" |
| PyPI | torch |
< 2.8.0 |
2.8.0 |
pip install "torch>=2.8.0" |
Per OSV / GitHub Advisories (GHSA-887c-mr87-cxwp, PYSEC-2026-1970). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | pytorch | 2.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Vendor Advisory
- github.com Exploit Issue Tracking Vendor Advisory
- github.com Issue Tracking Patch
- github.com Patch
- vuldb.com Permissions Required VDB Entry
- vuldb.com Third Party Advisory VDB Entry
- vuldb.com Exploit Third Party Advisory VDB Entry