PyTorch 2.6.0 pad_packed_sequence Memory Corruption CVE-2025-2998
CVE-2025-2998 Published on March 31, 2025

PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption
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.

NVD

Timeline

Advisory disclosed

VulDB entry created

VulDB entry last update

Weakness Type

What is a Buffer Overflow Vulnerability?

The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.

CVE-2025-2998 has been classified to as a Buffer Overflow vulnerability or weakness.


Products Associated with CVE-2025-2998

Want to know whenever a new CVE is published for Linux Foundation Pytorch? stack.watch will email you.

 

Exploit Probability

EPSS
0.14%
Percentile
33.80%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.