ADVISORIES

Vulnerability

CVE-2025-2998

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.

13 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-269r-6qx9-m9px
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-2wp4-hv27-fx6j
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-786x-9wh2-8p3q
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-92p3-9g65-w82w
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-fjc5-p5gg-5gr2
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-ghmj-p575-p54g
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-h7gq-5c4w-879g
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-mf8g-p82w-335g
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • CGA-x38c-vc4f-jx77
    CVE-2025-2998 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2025-2998

    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…

    CVE-2025-2998 Debian Updated 1 September 2026
  • GHSA-f4hp-rmr7-r7v8

    PyTorch is Vulnerable to Memory Consumption through pad_packed_sequence Function

    Moderate CVE-2025-2998 PyPI Updated 9 June 2026
  • PYSEC-2025-192

    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…

    CVE-2025-2998 PyPI Updated 10 June 2026
  • UBUNTU-CVE-2025-2998

    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…

    CVE-2025-2998 Ubuntu Updated 17 October 2026

References