Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Torchvision | <= 0.28.0 |
Related Weaknesses (CWE)
References
- https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ePatch
- https://github.com/pytorch/vision/issues/9551ExploitIssue Tracking
- https://github.com/pytorch/vision/pull/9520Issue TrackingPatch
- https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounExploitPatchThird Party Advisory
FAQ
What is CVE-2026-65918?
CVE-2026-65918 is a vulnerability with a CVSS score of 7.1 (HIGH). 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. At...
How severe is CVE-2026-65918?
CVE-2026-65918 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65918?
Check the references section above for vendor advisories and patch information. Affected products include: Linuxfoundation Torchvision.