Vulnerabilities / CVE-2025-32434

critical

CVE-2025-32434

PyTorch is a Python package that provides tensor computation with stro ...

Published Modified CWE 502
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Bitnami9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Azure Linux, Bitnami, CBL-Mariner.

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0pytorch0:2.2.2-6.azl3
bitnami::Bitnami Vulnerability Databasepytorch2.6.0
CBL-Mariner 2.0pytorch0:2.0.0-8.cm2
pip::GitHub Security Advisory piptorch2.6.0
debian 11pytorch1.7.1-7+deb11u1
debian 12pytorchno fix listed
debian 13pytorch2.6.0+dfsg-1
debian 14pytorch2.6.0+dfsg-1
echopytorch2.6.0+dfsg-1
rapidfort debian 12pytorch0:2.6.0+dfsg-1
rapidfort debian 13pytorch0:2.6.0+dfsg-1
seal pip::Seal Security Databaseseal-torch, torch1.13.1+sp999
Show all 13 entries from 12 sources
SourcePackageFixed in
Azure Linux 3.0pytorch0:2.2.2-6.azl3
bitnami::Bitnami Vulnerability Databasepytorch2.6.0
CBL-Mariner 2.0pytorch0:2.0.0-8.cm2
pip::GitHub Security Advisory piptorch2.6.0
debian 11pytorch1.7.1-7+deb11u1
debian 12pytorchno fix listed
debian 13pytorch2.6.0+dfsg-1
debian 14pytorch2.6.0+dfsg-1
echopytorch2.6.0+dfsg-1
rapidfort debian 12pytorch0:2.6.0+dfsg-1
rapidfort debian 13pytorch0:2.6.0+dfsg-1
seal pip::Seal Security Databaseseal-torch1.13.1+sp999
seal pip::Seal Security Databasetorch1.13.1+sp999

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.