CVE-2026-65918

PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

HIGH
7.1
CVSS Score
Published: July 23, 2026 at 05:36 PM UTC
Updated: October 24, 2026 at 01:10 PM UTC
2 products affected across 2 vendorsTorchvisionTorchvision

Using vision by pytorch?

Get instant alerts when new vulnerabilities affect vision - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.4%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0 ≤ v ≤ 0.28.0
Vendor states this is fixed in 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed (unaffected)

References (4)

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHVulnCheck
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card