CVE-2026-65918: Out-of-bounds Read in pytorch vision
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.
AI Analysis
Technical Summary
CVE-2026-65918 describes an out-of-bounds heap read vulnerability in PyTorch's torchvision library through version 0.28.0. The vulnerability occurs in the GIF decoder's read_from_tensor callback function, where an unclamped length parameter is passed to memcpy, allowing attackers to cause memory corruption by supplying crafted or truncated GIF files. This can result in a denial of service due to segmentation faults or unintended disclosure of adjacent heap memory. The issue was resolved in a specific commit (4e05dc2). No official remediation level or patch link is provided in the data.
Potential Impact
Successful exploitation can cause a denial of service by crashing the application via segmentation faults or can lead to disclosure of adjacent heap memory contents, potentially exposing sensitive information. The vulnerability is remotely exploitable without privileges or user interaction beyond supplying a crafted GIF file. The CVSS 4.0 score of 7.1 reflects a high severity impact with low attack complexity and no privileges required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
CVE-2026-65918: Out-of-bounds Read in pytorch vision
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.
CVSS v4.0
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-65918 describes an out-of-bounds heap read vulnerability in PyTorch's torchvision library through version 0.28.0. The vulnerability occurs in the GIF decoder's read_from_tensor callback function, where an unclamped length parameter is passed to memcpy, allowing attackers to cause memory corruption by supplying crafted or truncated GIF files. This can result in a denial of service due to segmentation faults or unintended disclosure of adjacent heap memory. The issue was resolved in a specific commit (4e05dc2). No official remediation level or patch link is provided in the data.
Potential Impact
Successful exploitation can cause a denial of service by crashing the application via segmentation faults or can lead to disclosure of adjacent heap memory contents, potentially exposing sensitive information. The vulnerability is remotely exploitable without privileges or user interaction beyond supplying a crafted GIF file. The CVSS 4.0 score of 7.1 reflects a high severity impact with low attack complexity and no privileges required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-23T12:51:09.596Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6254f59c2644c7f8773e9b
Added to database: 07/23/2026, 17:52:53 UTC
Last enriched: 07/30/2026, 22:47:59 UTC
Last updated: 09/04/2026, 10:52:10 UTC
Views: 108
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.