CVE-2026-65918

PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

Published Jul 23, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation torchvision
CPEs cpe:2.3:a:linuxfoundation:torchvision:*:*:*:*:*:python:*:*
Vendors & Products Linuxfoundation
Linuxfoundation torchvision
Type Values Removed Values Added
First Time appeared Pytorch
Pytorch vision
Vendors & Products Pytorch
Pytorch vision
Type Values Removed Values Added
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.
Title PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 17, 2026, 5:54 PM
Reserved
Jul 23, 2026, 12:51 PM
Status
Analyzed
Published
Jul 23, 2026, 6:17 PM
Modified
Oct 24, 2026, 1:10 PM