CVE-2026-65918

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductLinuxfoundation Torchvision
PublishedJul 23, 2026
First seenJul 23, 2026

How to fix

Affected products

ProductAffected versionsFixed in
linuxfoundation torchvisionv ≤ 0.28.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.