Skip to content
HighVulnerability

CVE-2026-65918: PyTorch torchvision GIF decoder out-of-bounds heap read via crafted GIF files

Identifier
CVE-2026-65918
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2026-65918 affects PyTorch torchvision through 0.28.0, fixed in commit 4e05dc2. The GIF decoder's read_from_tensor callback passes an unclamped length to memcpy, causing an out-of-bounds heap read (CWE-125). An attacker can supply a malicious or truncated GIF file to cause a denial of service via segmentation fault or to disclose adjacent heap memory contents.

Mitigation

Fixed in commit 4e05dc2.