CVE-2026-65918: pytorch vision · Out-of-bounds Read
Affects pytorch visionSource CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 5 Dec 2026, 18:47 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pytorchvision | Affected
| Fixed in– |
GitHubvisionpkg:github/visionOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability is fixed in commit 4e05dc2; users should apply this fix or upgrade to a version that includes it. Until then, avoid processing untrusted GIF files with affected versions of torchvision.
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.
References
- github.com/pytorch/vision/issues/9551 (opens in a new tab)
- github.com/pytorch/vision/pull/9520 (opens in a new tab)
- github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed (opens in a new tab)
- vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read (opens in a new tab)