CVE-2025-2998

medium

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.

References

https://vuldb.com/?submit.524151

https://vuldb.com/?id.302047

https://vuldb.com/?ctiid.302047

https://github.com/pytorch/pytorch/issues/149622#issue-2935495265

https://github.com/pytorch/pytorch/issues/149622

Details

Source: Mitre, NVD

Published: 2025-03-31

Updated: 2025-04-01

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 5.3

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Severity: Medium

CVSS v4

Base Score: 4.8

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

Severity: Medium