Description
PyTorch torchvision through 0.28.0, fixed in commit 4e05dc2, contains an out-of-bounds heap read vulnerability in the GIF decoder's read_from_tensor callback that passes unclamped length to memcpy. Attackers can supply malicious or truncated GIF files to cause denial of service via segmentation fault or disclose adjacent heap memory contents.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
pytorch vision
Default version status: unaffected
0 to ≤ 0.28.0affected4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4edunaffected
pkg:pypi/torchvision