Vulnerability database / CVE-2025-3136
CVE-2025-3136
MEDIUM 4.8 CVSS 4.0 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.
Published 3 Apr 2025
Last modified 17 Jun 2026 Assigned by cna@vuldb.com NVD status Analyzed Weakness
CWE-119 CWE-787 Also known as
BIT-pytorch-2025-3136 PYSEC-2025-197 Sources
NVD JSON OSV PYSEC-2025-197 JSON Scores
Source Scored by Version Score Vector / decision
NVD
cna@vuldb.com (Secondary)
CVSS 4.0
MEDIUM 4.8
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:XOSV
PyPA
CVSS 4.0
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:XNVD
cna@vuldb.com (Secondary)
CVSS 3.1
LOW 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LNVD
cna@vuldb.com (Secondary)
CVSS 2.0
LOW 1.7
AV:L/AC:L/Au:S/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linuxfoundation
pytorchcpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*
= 2.6.0
OSV
PyPI
torch
<= 2.6.0-NA
References
https://github.com/pytorch/pytorch/issues/149821 · Exploit, Issue Tracking, Vendor Advisory, REPORT https://github.com/pytorch/pytorch/issues/149821#issue-2940838975 · Exploit, Issue Tracking, Vendor Advisory, REPORT https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086 · Exploit, Issue Tracking, Vendor Advisory, REPORT https://vuldb.com/?ctiid.303041 · Permissions Required, VDB Entry, REPORT https://vuldb.com/?id.303041 · Third Party Advisory, VDB Entry, ADVISORY https://vuldb.com/?submit.525252 · Exploit, Third Party Advisory, VDB Entry, EVIDENCE https://github.com/ARPANET-cybersecurity/vuldb/issues/2 · Not Applicable, REPORT
History
25 Nov 2026 20:57 UTC · NVD: first stored (published 3 Apr 2025)25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Apr 2025)