5.3Medium

CVE-2025-2998PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption

PyTorch Published: (1 year ago)

Description

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.

Weakness (CWE): CWE-119

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
linuxfoundation pytorch 2.6.0
— PyTorch 2.6.0

References and patches

CPE matches (NVD) (1)

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