CVE-2025-3136Linuxfoundation 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 3, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- 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, has been found in PyTorch 2.6.0. This issue affects the function torch.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. The manipulation leads to memory corruption. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.
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.6.0-NA |
no fixed version | — |
Per OSV / GitHub Advisories (PYSEC-2025-197). 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 Exploit Issue Tracking Vendor Advisory
- vuldb.com Permissions Required VDB Entry
- vuldb.com Third Party Advisory VDB Entry
- vuldb.com Exploit Third Party Advisory VDB Entry
- github.com Not Applicable