{"id":"CVE-2025-3136","state":"PUBLISHED","title":"PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption","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.","publishedAt":"2025-04-03T03:31:05.598Z","updatedAt":"2025-04-03T13:31:31.510Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["n/a PyTorch"],"affected":[{"vendor":"n/a","product":"PyTorch","versions":[{"version":"2.6.0","status":"affected"}]}],"references":["https://vuldb.com/?id.303041","https://vuldb.com/?ctiid.303041","https://vuldb.com/?submit.525252","https://github.com/pytorch/pytorch/issues/149821","https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086","https://github.com/pytorch/pytorch/issues/149821#issue-2940838975","https://github.com/ARPANET-cybersecurity/vuldb/issues/2"],"weaknesses":["CWE-119"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/3xxx/CVE-2025-3136.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-3136","state":"PUBLISHED","datePublished":"2025-04-03T03:31:05.598Z","dateUpdated":"2025-04-03T13:31:31.510Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-04-02T20:47:37.099Z"},"containers":{"cna":{"title":"PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"Eine Schwachstelle wurde in PyTorch 2.6.0 entdeckt. Sie wurde als problematisch eingestuft. Es geht hierbei um die Funktion torch.cuda.memory.caching_allocator_delete der Datei c10/cuda/CUDACachingAllocator.cpp. Mit der Manipulation mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Umgesetzt werden muss der Angriff lokal. Der Exploit steht zur öffentlichen Verfügung."}],"affected":[{"vendor":"n/a","product":"PyTorch","versions":[{"version":"2.6.0","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.303041","name":"VDB-303041 | PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.303041","name":"VDB-303041 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.525252","name":"Submit #525252 | pytorch pytorch (in torch.cuda.memory.caching_allocator_delete) torch 2.6.0 invalid memory access","tags":["third-party-advisory"]},{"url":"https://github.com/pytorch/pytorch/issues/149821","tags":["issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086","tags":["issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/issues/149821#issue-2940838975","tags":["exploit","issue-tracking"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.3,"vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":1.7,"vectorString":"AV:L/AC:L/Au:S/C:N/I:N/A:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-04-03T03:31:05.598Z"},"timeline":[{"time":"2025-04-02T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-04-02T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-04-02T22:52:42.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Default436352 (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ARPANET-cybersecurity/vuldb/issues/2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-03T13:31:24.297584Z","id":"CVE-2025-3136","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-03T13:31:31.510Z"}}]}}}