3.3
LOW
CVE-2025-3136
PyTorch CUDA Caching Allocator Memory Corruption Vulnerability
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.

INFO

Published Date :

April 3, 2025, 4:15 a.m.

Last Modified :

May 28, 2025, 3:59 p.m.

Remotely Exploitable :

No

Impact Score :

1.4

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2025-3136 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linuxfoundation pytorch
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-3136.

URL Resource
https://github.com/pytorch/pytorch/issues/149821 Exploit Issue Tracking Vendor Advisory
https://github.com/pytorch/pytorch/issues/149821#issue-2940838975 Exploit Issue Tracking Vendor Advisory
https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086 Exploit Issue Tracking Vendor Advisory
https://vuldb.com/?ctiid.303041 Permissions Required VDB Entry
https://vuldb.com/?id.303041 Third Party Advisory VDB Entry
https://vuldb.com/?submit.525252 Third Party Advisory VDB Entry Exploit
https://github.com/ARPANET-cybersecurity/vuldb/issues/2 Not Applicable

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-3136 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-3136 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    May. 28, 2025

    Action Type Old Value New Value
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*
    Added Reference Type CISA-ADP: https://github.com/ARPANET-cybersecurity/vuldb/issues/2 Types: Not Applicable
    Added Reference Type VulDB: https://github.com/pytorch/pytorch/issues/149821 Types: Exploit, Issue Tracking, Vendor Advisory
    Added Reference Type VulDB: https://github.com/pytorch/pytorch/issues/149821#issue-2940838975 Types: Exploit, Issue Tracking, Vendor Advisory
    Added Reference Type VulDB: https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086 Types: Exploit, Issue Tracking, Vendor Advisory
    Added Reference Type VulDB: https://vuldb.com/?ctiid.303041 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.303041 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.525252 Types: Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 03, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/ARPANET-cybersecurity/vuldb/issues/2
  • New CVE Received by [email protected]

    Apr. 03, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.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
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
    Added CVSS V2 (AV:L/AC:L/Au:S/C:N/I:N/A:P)
    Added CWE CWE-119
    Added Reference https://github.com/pytorch/pytorch/issues/149821
    Added Reference https://github.com/pytorch/pytorch/issues/149821#issue-2940838975
    Added Reference https://github.com/pytorch/pytorch/issues/149821#issuecomment-2765311086
    Added Reference https://vuldb.com/?ctiid.303041
    Added Reference https://vuldb.com/?id.303041
    Added Reference https://vuldb.com/?submit.525252
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-3136 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 24, 2025 11:43