CVE-2025-2999Improper Restriction of Operations within the Bounds of a Memory Buffer in Pytorch

Severity
4.8MEDIUMNVD
EPSS
0.1%
top 65.98%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 31

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.

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

Affected Packages2 packages

🔴Vulnerability Details

2
GHSA
GHSA-vgrw-7cvw-pwgx: A vulnerability was found in PyTorch 22025-03-31
OSV
CVE-2025-2999: A vulnerability was found in PyTorch 22025-03-31

📋Vendor Advisories

1
Debian
CVE-2025-2999: pytorch - A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affec...2025