ADVISORIES

Vulnerability

CVE-2025-2999

A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

22 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-vgrw-7cvw-pwgx

    PyTorch is vulnerable to memory corruption through its unpack_sequence function

    Moderate CVE-2025-2999 PyPI Updated 10 June 2026
  • PYSEC-2025-193

    A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a…

    CVE-2025-2999 PyPI Updated 13 July 2026

References