{"id":"CVE-2026-65918","published":"2026-07-23T17:36:42Z","modified":"2026-09-17T17:54:36Z","title":"PyTorch torchvision GIF Decoder Out-of-bounds Heap Read","vendor":"pytorch","product":"vision","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.30526,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/pytorch/vision/issues/9551","tags":["technical-description","exploit","issue-tracking"]},{"url":"https://github.com/pytorch/vision/pull/9520","tags":["issue-tracking","patch"]},{"url":"https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read","tags":["third-party-advisory"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":6.11},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"pytorch","affectedVersions":[{"vendor":"pytorch","product":"vision","versions":["<= 0.28.0"]}],"fixedVersions":[{"vendor":"pytorch","product":"vision","versions":["4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-23T18:11:49.816662Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-48341","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pytorch/vision/issues/9551"]}