← Vulnerability feed

Vulnerability record · CVE-2025-2148 · published 10 March 2025

CVE-2025-2148: Linuxfoundation pytorch memory buffer overflow vulnerability

Linuxfoundation · Pytorch

A vulnerability was found in PyTorch 2.6.0+cu124. It has been declared as critical. Affected by this vulnerability is the function torch.ops.profiler._call_end_callbacks_on_jit_fut of the component Tuple Handler. The manipulation of the argument None leads to memory corruption. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult.

2.3 CVSS 4.0 Low EPSS 0.44% · top 64.2% CWE-119 · Memory buffer overflow
2.3CVSS 4.0 base score, v2 5.1
0.44%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
5References
17 Jun 2026Last modified by NVD

Description

A vulnerability was found in PyTorch 2.6.0+cu124. It has been declared as critical. Affected by this vulnerability is the function torch.ops.profiler._call_end_callbacks_on_jit_fut of the component Tuple Handler. The manipulation of the argument None leads to memory corruption. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult.

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/pytorch/pytorch/issues/147722 Issue Tracking
https://vuldb.com/?ctiid.299059 Permissions RequiredVDB Entry
https://vuldb.com/?id.299059 Third Party AdvisoryVDB Entry
https://vuldb.com/?submit.505959 Third Party AdvisoryVDB Entry
https://github.com/pytorch/pytorch/issues/147722 Issue Tracking

Track CVE-2025-2148 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-48063Linuxfoundation pytorch deserialization of untrusted data vulnerabilityIn PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch…EPSS 1.6%9.8CVE-2022-45907Linuxfoundation pytorch code injection vulnerabilityIn PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.EPSS 1.3%9.3CVE-2025-32434Linuxfoundation pytorch deserialization of untrusted data vulnerabilityPyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd sys…EPSS 2.2%8.8CVE-2026-24747Linuxfoundation pytorch code injection vulnerabilityPyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's `weights_only` unpickler allows a…EPSS 0.81%7.8CVE-2024-31583Linuxfoundation pytorch use after free vulnerabilityPytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.EPSS 0.27%7.5CVE-2025-55560Linuxfoundation pytorch uncontrolled resource consumption vulnerabilityAn issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense(…EPSS 0.41%7.5CVE-2025-55558Linuxfoundation pytorch uncontrolled resource consumption vulnerabilityA buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-to…EPSS 0.45%7.5CVE-2025-55552Linuxfoundation pytorch integer overflow vulnerabilitypytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.EPSS 0.42%

Source: NIST National Vulnerability Database (record CVE-2025-2148), CISA KEV, FIRST EPSS (scores of 2026-10-05). This page is refreshed as NVD updates the record.