Live threats

All CVEs / Linuxfoundation

CVE-2025-2998Linuxfoundation Pytorch

Medium 4.8

Priority
29
CVSS 4.0
4.8
EPSS
—
Auth required
Yes
Published
Mar 31, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pytorch.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI torch ≤ 2.6.0 no fixed version —
PyPI torch ≤ 2.6.0-NA no fixed version —

Per OSV / GitHub Advisories (GHSA-f4hp-rmr7-r7v8, PYSEC-2025-192). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationpytorch2.6.0

Official sources

References

Links published by the sources. Open them with care.