CVE-2026-65918
PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
CVSS Score
7.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | pytorch |
| Product | vision |
| Published | Jul 23, 2026 |
| Last Updated | Jul 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for pytorch vision
Be the first to know when new high vulnerabilities affecting pytorch vision are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Affected Versions
pytorch / vision
0 โค 0.28.0
References
github.com: https://github.com/pytorch/vision/issues/9551 github.com: https://github.com/pytorch/vision/pull/9520 github.com: https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed vulncheck.com: https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read
Credits
George Chen