{"id":"BIT-pytorch-2025-3136","summary":"PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption","details":"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.","aliases":["CVE-2025-3136"],"modified":"2025-05-29T13:27:14.785588Z","published":"2025-05-29T12:17:56.494Z","database_specific":{"cpes":["cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://github.com/ARPANET-cybersecurity/vuldb/issues/2"},{"type":"WEB","url":"https://github.com/pytorch/pytorch/issues/149821"},{"type":"WEB","url":"https://github.com/pytorch/pytorch/issues/149821#issue-2940838975"},{"type":"WEB","url":"https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3136"},{"type":"WEB","url":"https://vuldb.com/?ctiid.303041"},{"type":"WEB","url":"https://vuldb.com/?id.303041"},{"type":"WEB","url":"https://vuldb.com/?submit.525252"}],"affected":[{"package":{"name":"pytorch","ecosystem":"Bitnami","purl":"pkg:bitnami/pytorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.6.0"},{"fixed":"2.7.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pytorch/BIT-pytorch-2025-3136.json"},"severity":[{"type":"CVSS_V4","score":"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:X"}]}],"schema_version":"1.7.3"}