What’s Vulnerable › Vulnerabilities
CVE-2026-65918: PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-23 · updated 2026-10-24
- Weakness: CWE-125
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.
Affected products
- pytorch vision: through 0.28.0
References
- https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed
- https://github.com/pytorch/vision/issues/9551
- https://github.com/pytorch/vision/pull/9520
- https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read
Get alerted when CVE-2026-65918 or the next vulnerability affects your stack