7.1High

CVE-2026-65918PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

pytorch vision Published: (3 months ago)

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.

Weakness (CWE): CWE-125

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
linuxfoundation torchvision ≤ 0.28.0
pytorch vision ≤ 0.28.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:linuxfoundation:torchvision:*:*:*:*:*:python:*:* ≤ 0.28.0