PT-2025-13774 · Pytorch+1 · Pytorch+1

Default436352

·

Published

2025-03-31

·

Updated

2025-05-30

·

CVE-2025-2998

CVSS v3.1

5.3

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions PyTorch version 2.6.0
Description A critical issue has been identified, affecting the torch.nn.utils.rnn.pad packed sequence function, which can lead to memory corruption. This issue requires local access to exploit.
Recommendations For PyTorch version 2.6.0, as a temporary workaround, consider disabling the torch.nn.utils.rnn.pad packed sequence function until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Buffer Overflow

Weakness Enumeration

Related Identifiers

BIT-PYTORCH-2025-2998
CVE-2025-2998
PYSEC-2025-192

Affected Products

Debian
Pytorch