Vulnerability · Published Apr 3, 2025 · Assigned by VulDB
CVE-2025-3136PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption
Low 3.3
In plain English
A low-severity memory corruption in PyTorch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.3%top 81.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2025-3136 |
| Debian:13 | pytorch | no fix listed | DEBIAN-CVE-2025-3136 |
| Debian:14 | pytorch | no fix listed | DEBIAN-CVE-2025-3136 |
| PyPI | torch | no fix listed | PYSEC-2025-197 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-3136 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2025-3136 |
| Ubuntu:26.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-3136 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2025-3136 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- VDB-303041 | PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption vdb-entry, technical-description
- VDB-303041 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #525252 | pytorch pytorch (in torch.cuda.memory.caching_allocator_delete) torch 2.6.0 invalid memory access third-party-advisory
- https://github.com/pytorch/pytorch/issues/149821 issue-tracking
- https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086 issue-tracking
- https://github.com/pytorch/pytorch/issues/149821#issue-2940838975 exploit, issue-tracking
- https://github.com/ARPANET-cybersecurity/vuldb/issues/2 exploit