Memory Corruption Vulnerability in PyTorch 2.6.0 Affecting CUDACachingAllocator
CVE-2025-3136

4.8MEDIUM

Key Information:

Vendor
PyTorch
Status
Pytorch
Vendor
CVE Published:
3 April 2025

Badges

👾 Exploit Exists🟡 Public PoC

Summary

A local memory corruption vulnerability has been discovered in PyTorch 2.6.0, specifically within the function torch.cuda.memory.caching_allocator_delete found in the CUDACachingAllocator.cpp file. This issue allows an attacker with local access to manipulate memory allocation, resulting in unintended behavior of the application. The issue has been publicly disclosed and may pose a risk if exploited.

Affected Version(s)

PyTorch 2.6.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Default436352 (VulDB User)
.