CVE-2026-65918
JSON

7.1high

PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
pytorch visionup to 0.28.0
Not affected: 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed
CVE List
linuxfoundation torchvisionup to 0.28.0NVD

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

PyTorch torchvision hasta la versión 0.28.0, corregido en el commit 4e05dc2, contiene una vulnerabilidad de lectura de montón fuera de límites en la función de callback read_from_tensor del decodificador GIF que pasa una longitud no restringida a memcpy. Los atacantes pueden proporcionar archivos GIF maliciosos o truncados para causar denegación de servicio a través de un fallo de segmentación o divulgar el contenido de la memoria adyacente del montón.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-65918 changed 2026-09-17CVE Terms of Use
NVDCVE-2026-65918 changed 2026-10-24Public domain