Skip to main content
← All vulnerabilities
CVE-2025-2998GHSA-F4HP-RMR7-R7V8BIT-PYTORCH-2025-2998PYSEC-2025-192

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a PyTorch

    2.6.0

  • torchPyPI

    through 2.6.0

  • torchPyPI

    through 2.6.0-NA

References 5

vuldb.com

GitHub · pytorch/pytorch