Skip to content
OpenAdvisories
High · 7.1 CVE-2026-65918 EUVD-2026-48341GHSA-xhgh-4jhq-chj3

PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

Published Jul 23, 2026 · Updated Sep 17, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
pytorch vision ≤ 0.28.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pytorch-vision No fix yet —
Debian 13 pytorch-vision No fix yet —
Debian 12 pytorch-vision No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pytorch +1 No fix yet —
Ubuntu 26.04 LTS pytorch No fix yet —
Ubuntu 22.04 LTS pytorch +1 No fix yet —

Advisories 1

References