Buffer overflow in Linuxfoundation Pytorch
CVE-2025-3136
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 19.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linuxfoundation Pytorch — versions 2.6.0
- Pytorch — versions 2.6.0
Weakness classification (CWE)
References
- VDB-303041 | PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-303041 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #525252 | pytorch pytorch (in torch.cuda.memory.caching_allocator_delete) torch 2.6.0 invalid memory access (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/pytorch/pytorch/issues/149821 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/pytorch/pytorch/issues/149821 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/pytorch/pytorch/issues/149821 (issue-tracking, Exploit, exploit, Issue Tracking, Vendor Advisory)
- github.com/ARPANET-cybersecurity/vuldb/issues/2 (Not Applicable)