CVE-2025-2998 MEDIUM

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

Vendor N/A
Product PyTorch
Weakness CWE-119
Published March 31, 2025
Last update March 31, 2025

CVSS base score

4.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 31, 2025 CVE published
March 31, 2025 Record updated