CVE catalog

CVE-2025-2999

pytorch: CVE-2025-2999

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.20% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpytorchsid2.14.1+dfsg-1fixed
Debianpytorchforky2.14.1+dfsg-1fixed
Debianpytorchtrixie2.6.0+dfsg-7vulnerable
Debianpytorchbookworm1.13.1+dfsg-4vulnerable
PyPItorchNot reported2.9.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpytorchsourcesid2.12.0+dfsg2-1not yet assignedNot reported[1102231]
Debianpytorchsourceforky2.12.0+dfsg2-1not yet assignedNot reported[1102231]
Debianpytorchsourcetrixie(unfixed)not yet assignedNot reported[1102231]
Debianpytorchsourcebookworm(unfixed)not yet assignedNot reported[1102231]
PyPItorchPyPINot reported2.9.1Not reportedGHSA-VGRW-7CVW-PWGXNot reported

[Debian bug #1102231]

Notes

[trixie] pytorch: Minor issue [bookworm] pytorch: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libtorch1.13]Affected

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

  • [libtorch-dev]Affected

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

  • [libtorch-test]Affected

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

  • [python3-torch]Affected

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

[Debian 13 (Trixie)]

  • [libtorch2.6]Affected

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

  • [libtorch-dev]Affected

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

  • [libtorch-test]Affected

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

  • [python3-torch]Affected

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

Observed:

References