5.3Medium

CVE-2025-2999PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption

PyTorch Published: (1 year ago)

Description

A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. 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:*:*