CVE-2026-65918
PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
CVSS 4.0 7.1 HIGHCVSS 3.1 7.1 HIGHCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-65918
PublishedPyTorch 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-65918 · CVE overview and exploitation status
cve-program · CVE-2026-65918
Related changes
Linked by CVE identifierNo related changes are available here.