{"id":"CVE-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":["BIT-pytorch-2025-3136","PYSEC-2025-197"],"modified":"2026-08-12T03:51:28.643299955Z","published":"2025-04-03T03:31:05.598Z","database_specific":{"cwe_ids":["CWE-119"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3136.json","cna_assigner":"VulDB"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3136.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3136"},{"type":"ADVISORY","url":"https://vuldb.com/?id.303041"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.525252"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149821"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149821#issue-2940838975"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.303041"},{"type":"EVIDENCE","url":"https://github.com/ARPANET-cybersecurity/vuldb/issues/2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pytorch/pytorch","events":[{"introduced":"1eba9b3aa3c43f86f4a2c807ac8e12c4a7767340"},{"last_affected":"1eba9b3aa3c43f86f4a2c807ac8e12c4a7767340"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*","extracted_events":[{"introduced":"2.6.0"},{"last_affected":"2.6.0"},{"introduced":"2.6.0-NA"},{"last_affected":"2.6.0-NA"}]}}],"versions":["2.6.0","2.6.0-NA","v2.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3136.json"}}],"schema_version":"1.9.0","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"}]}