HighVulnerability
CVE-2026-65918: PyTorch torchvision GIF decoder out-of-bounds heap read via crafted GIF files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-65918
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
CVE-2026-65918 affects PyTorch torchvision through 0.28.0, fixed in commit 4e05dc2. The GIF decoder's read_from_tensor callback passes an unclamped length to memcpy, causing an out-of-bounds heap read (CWE-125). An attacker can supply a malicious or truncated GIF file to cause a denial of service via segmentation fault or to disclose adjacent heap memory contents.
Mitigation
Fixed in commit 4e05dc2.
Related items
- LowCloakFEM: Agentic FEM Code Generation for Red-Teaming Computational Resource ExhaustionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- MediumThe Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesSimilar attack · Google Threat Intelligence
- InfoThe Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM InferenceSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- HighCVE-2026-118761: Kubeflow Pipelines decompression bomb in pipeline archive uploadSimilar attack · NVD/CVE Database
- LowOpenCode User Hit with Hostile Backlash After Reporting Free AI LoopholeSimilar attack · Socket Blog