CVE catalog

CVE-2025-32434

pytorch: CVE-2025-32434

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.37% · Oct 25, 2026

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.

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-7fixed
Debianpytorchbookworm1.13.1+dfsg-4vulnerable
PyPItorchNot reported2.6.0fixed
PyPItorchNot reported2.6.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpytorchsourcesid2.6.0+dfsg-1not yet assignedNot reportedNot reported
Debianpytorchsourceforky2.6.0+dfsg-1not yet assignedNot reportedNot reported
Debianpytorchsourcetrixie2.6.0+dfsg-1not yet assignedNot reportedNot reported
Debianpytorchsourcebookworm(unfixed)not yet assignedNot reportedNot reported
PyPItorchPyPINot reported2.6.0Not reportedGHSA-53Q9-R3PM-6PQ6Not reported
PyPItorchPyPINot reported2.6.0Not reportedPYSEC-2025-41Not reported

Notes

[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)]

  • Source package: [pytorch]

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

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

  • Source package: [pytorch]

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

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

  • Source package: [pytorch]

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

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

  • Source package: [pytorch]

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

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Fixed · Fixed: 2.6.0+dfsg-1

      dsa · pytorch · debian · 13

Observed:

References