Buffer overflow in 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 memo…
Vulnerability class: Buffer Overflow
EPSS: 0.001 (19.4th percentile) — read the EPSS interpretation.
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.
Affected products
- N/a Pytorch — versions 2.6.0
Weakness classification (CWE)
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)
- github.com/pytorch/pytorch/issues/149821 (issue-tracking)
- github.com/pytorch/pytorch/issues/149821 (issue-tracking)
- github.com/pytorch/pytorch/issues/149821 (exploit, issue-tracking)
Frequently asked questions
- What is CVE-2025-3136?
- CVE-2025-3136 is a low-severity vulnerability in Pytorch, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-04-03.
- How severe is CVE-2025-3136?
- Low severity. CVSS v3 base score is 3.3 out of 10.