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

Read the record on cve.org

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

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HVulnCheck

Weaknesses

Affected Products

ProductVersions
visionpytorch
  • 0.28.0 and earlierAffected
  • 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4edNot affected

References

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.