CVE-2025-2998

A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
References
Link Resource
https://github.com/pytorch/pytorch/issues/149622 Issue Tracking Vendor Advisory
https://github.com/pytorch/pytorch/issues/149622#issue-2935495265 Issue Tracking Vendor Advisory
https://vuldb.com/?ctiid.302047 Permissions Required VDB Entry
https://vuldb.com/?id.302047 Third Party Advisory VDB Entry
https://vuldb.com/?submit.524151 Third Party Advisory VDB Entry
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*

History

29 May 2025, 15:53

Type Values Removed Values Added
Summary
  • (es) Se encontró una vulnerabilidad en PyTorch 2.6.0. Se ha declarado crítica. Esta vulnerabilidad afecta a la función torch.nn.utils.rnn.pad_packed_sequence. La manipulación provoca corrupción de memoria. Se requiere acceso local para abordar este ataque. Se ha hecho público el exploit y puede que sea utilizado.
First Time Linuxfoundation pytorch
Linuxfoundation
CPE cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*
References () https://github.com/pytorch/pytorch/issues/149622 - () https://github.com/pytorch/pytorch/issues/149622 - Issue Tracking, Vendor Advisory
References () https://github.com/pytorch/pytorch/issues/149622#issue-2935495265 - () https://github.com/pytorch/pytorch/issues/149622#issue-2935495265 - Issue Tracking, Vendor Advisory
References () https://vuldb.com/?ctiid.302047 - () https://vuldb.com/?ctiid.302047 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.302047 - () https://vuldb.com/?id.302047 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.524151 - () https://vuldb.com/?submit.524151 - Third Party Advisory, VDB Entry

31 Mar 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-31 14:15

Updated : 2025-05-29 15:53


NVD link : CVE-2025-2998

Mitre link : CVE-2025-2998

CVE.ORG link : CVE-2025-2998


JSON object : View

Products Affected

linuxfoundation

  • pytorch
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer