Out-of-bounds Read in Linuxfoundation Torchvision
CVE-2026-65918
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.004 (38.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 38.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Linuxfoundation Torchvision
- Pytorch Vision — versions 0, 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed
Weakness classification (CWE)
References
- Researcher Disclosure (issue-tracking, Exploit, technical-description, exploit, Issue Tracking)
- Pull Request (issue-tracking, Patch, patch, Issue Tracking)
- Patch Commit (Patch, patch)
- www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap… (Exploit, Patch, Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-65918?
- CVE-2026-65918 is a high-severity vulnerability in Linuxfoundation Torchvision, classified under Out-of-bounds Read. CVSS score: 7.1/10. Published 2026-07-23.
- How severe is CVE-2026-65918?
- High severity. CVSS v3 base score is 7.1 out of 10.