Vulnerability · Published Mar 31, 2025 · Assigned by VulDB

CVE-2025-3001PyTorch torch.lstm_cell memory corruption

Medium 5.3

In plain English

A medium-severity memory corruption in PyTorch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 89.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the function torch.lstm_cell. The manipulation leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pytorchno fix listedDEBIAN-CVE-2025-3001
Debian:13pytorchno fix listedDEBIAN-CVE-2025-3001
Debian:14pytorch2.12.0+dfsg2-1DEBIAN-CVE-2025-3001
PyPItorch2.10.0GHSA-qfhq-4f3w-5fph
PyPItorchno fix listedPYSEC-2025-195
Ubuntu:22.04:LTSpytorchno fix listedUBUNTU-CVE-2025-3001
Ubuntu:25.10pytorchno fix listedUBUNTU-CVE-2025-3001
Ubuntu:26.04:LTSpytorchno fix listedUBUNTU-CVE-2025-3001
Ubuntu:26.10pytorchno fix listedUBUNTU-CVE-2025-3001

Affected products (as reported)

VendorProductVersions
n/a PyTorch 2.6.0

Weakness: CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References