CVE-2025-2998

MEDIUM

PyTorch 2.6.0 - Memory Corruption in torch.nn.utils.rnn.pad_packed_sequence

Title source: llm
STIX 2.1

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 (5)

Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry technical-description
https://vuldb.com/?id.302047
Permissions Required, VDB Entry signature permissions-required
https://vuldb.com/?ctiid.302047
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.524151
Issue Tracking, Vendor Advisory issue-tracking
https://github.com/pytorch/pytorch/issues/149622
Issue Tracking, Vendor Advisory exploit issue-tracking
https://github.com/pytorch/pytorch/issues/149622#issue-2935495265

Scores

CVSS v3 5.3
EPSS 0.0010
EPSS Percentile 27.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-119
Status published
Products (1)
linuxfoundation/pytorch 2.6.0
Published Mar 31, 2025
Tracked Since Feb 18, 2026