{"id":"CVE-2026-65918","aliases":["CVE-2026-65918"],"related":[],"kind":"vulnerability","state":"published","title":"PyTorch torchvision GIF Decoder Out-of-bounds Heap Read","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"PyTorch torchvision hasta la versión 0.28.0, corregido en el commit 4e05dc2, contiene una vulnerabilidad de lectura de montón fuera de límites en la función de callback read_from_tensor del decodificador GIF que pasa una longitud no restringida a memcpy. Los atacantes pueden proporcionar archivos GIF maliciosos o truncados para causar denegación de servicio a través de un fallo de segmentación o divulgar el contenido de la memoria adyacente del montón.","source":"nvd"}],"published":"2026-07-23T17:36:42.799Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.28.0","status":"affected"},{"type":"git","version":"4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed","status":"unaffected"}],"vendor":"pytorch","product":"vision","repo":"https://github.com/pytorch/vision","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.28.0"}],"vendor":"linuxfoundation","product":"torchvision","cpe":"cpe:2.3:a:linuxfoundation:torchvision:*:*:*:*:*:python:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pytorch/vision/issues/9551","tags":["exploit","issue-tracking","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pytorch/vision/pull/9520","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read","tags":["exploit","patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-23T18:11:49.816Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65918","url":"https://www.cve.org/CVERecord?id=CVE-2026-65918","licence":"CVE Terms of Use","modified":"2026-09-17T17:54:36.539Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65918","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65918","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:29.945Z","epss":{"score":0.0033,"percentile":0.28146,"date":"2026-12-01T12:00:22.000Z"}}