CVE-2026-65918 HIGH

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

Vendor Pytorch
Product vision
Weakness CWE-125
Published July 23, 2026
Last update July 24, 2026

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 23, 2026 CVE published
July 24, 2026 Record updated