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

No history.

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