A vulnerability classified as critical has been found in PyTorch torchvision up to 0.28.0. The affected element is the function read_from_tensor of the component GIF decoder. Performing a manipulation results in out-of-bounds read.

This vulnerability was named CVE-2026-65918. The attack may be initiated remotely. There is no available exploit.

Applying a patch is the recommended action to fix this issue.