CVE-2026-65918
PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
- State
- Published
- Severity
- 7.1 High
- Published
- Jul 23, 2026
- Updated
- Sep 17, 2026
- Reserved
- Jul 23, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | 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 | VulnCheck |
| 3.1 | 7.1 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
visionpytorch |
|
References
- Researcher Disclosuretechnical-descriptionexploitissue-tracking
- Pull Requestissue-trackingpatch
- Patch Commitpatch
- https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-readthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.