CVE-2025-46149

Medium

Description

In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.

SeverityMedium
CVSS5.3
Exploit probability—
ProductLinuxfoundation Pytorch
PublishedSep 25, 2025
First seenSep 25, 2025
Weakness typeCWE-617CWE-617

How to fix

Update
  • linuxfoundation pytorch2.7.0 or later
  • torch2.7.0 or later

Affected products

ProductAffected versionsFixed in
linuxfoundation pytorch2.6.0 ≤ v < 2.7.02.7.0
torchPyPI2.6.0 ≤ v < 2.7.02.7.0

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.