CVE-2025-2998

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductLinuxfoundation Pytorch
PublishedMar 31, 2025
First seenMar 31, 2025

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
linuxfoundation pytorch2.6.0—
torchPyPIv ≤ 2.6.0, v ≤ 2.6.0-NA—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.