CVE-2025-2998

published 31 Mar 2025 · updated 16 Nov 2026

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

6.3MediumCVSS 5.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=2.6.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-2998 severity on Zeptric[![CVE-2025-2998](https://zeptric.io/badge/cve/CVE-2025-2998.svg)](https://zeptric.io/cve/CVE-2025-2998)