Skip to content
PyTorchPYSEC-2025-199

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

Medium5.3CVE-2025-46149 · Published Sep 25, 2025 · updated May 20, 2026

Source advisory

Affected versions

PackageAffectedFixed in
torch
PyPI
>= 2.6.0, < 2.7.02.7.0
Details and references

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

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Severity from
the CVSS score
Also known as
BIT-pytorch-2025-46149, CVE-2025-46149

More PyTorch advisories

All PyTorch

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.