CVE-2025-3136: PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption
Affects pytorchSource GCVE Database
Not known to be exploited : upgrade to 2.7.0 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.7.0
Exploitation evidence
Disclosed: evidence found.
CVE published 29 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade pytorch to 2.7.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamipytorchpkg:bitnami/pytorchOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patch by upgrading PyTorch to version 2.7.0 or later, as the vulnerability affects versions >=2.6.0 and <2.7.0. Since a patch is available, updating to a fixed version is the recommended remediation.
Description
A memory corruption vulnerability exists in PyTorch version 2.6.0 affecting the function torch.cuda.memory.caching_allocator_delete in the file c10/cuda/CUDACachingAllocator.cpp. The issue requires local access to exploit and has been publicly disclosed. A patch is available to address this vulnerability.
References
- github.com/ARPANET-cybersecurity/vuldb/issues/2 (opens in a new tab)
- github.com/pytorch/pytorch/issues/149821 (opens in a new tab)
- github.com/pytorch/pytorch/issues/149821 (opens in a new tab)
- github.com/pytorch/pytorch/issues/149821 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-3136 (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)