Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.

PyTorch < 2.7 may give wrong results with FractionalMaxPool2d when using torch.compile

published 4 months ago
Summary

If you run PyTorch versions older than 2.7 and use the torch.compile feature, the FractionalMaxPool2d operation can produce unpredictable outputs. This can affect the accuracy of models that rely on this pooling layer. Upgrade PyTorch to version 2.7 or later, or avoid using torch.compile with that layer, to ensure consistent results.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Echo echo pytorch All versions
Original advisory text
ECHO-b465-9fdb-5efb
Timeline
Published28 Jun 2026
Updated28 Jun 2026
First seen28 Jun 2026
Sources
Track software like this
Free during beta