CVE-2025-2998CWE-119

PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption

Medium · published March 31, 2025

CVSS v4.0
4.8
EPSS
0%
Percentile
9.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.8 · MEDIUM
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
EPSS
0.00198 · 9.1th percentile
Weakness
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
2025-03-31T14:00Z
EPSS history
Timeline
  • 31 MAR 14:00Z
    PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption
    cvelistv5