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
PyTorch torchvision through version 0.28.0 contains an out-of-bounds heap read vulnerability in the GIF decoder component. Specifically, the read_from_tensor callback passes an unclamped length parameter to memcpy, which can be exploited by attackers providing crafted or truncated GIF files. This can cause a segmentation fault resulting in denial of service or potentially leak adjacent heap memory contents. The vulnerability is addressed in commit 4e05dc2. No official remediation level or patch link is provided in the available data.
Potential Impact
Successful exploitation can cause application crashes (denial of service) due to segmentation faults or disclose adjacent heap memory contents, potentially leaking sensitive information. The vulnerability is exploitable without privileges or user interaction other than supplying a malicious GIF file. No known exploits in the wild have been reported.
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 update torchvision to a version including this fix once available. Until then, avoid processing untrusted GIF files with affected versions.
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
PyTorch torchvision through version 0.28.0 contains an out-of-bounds heap read vulnerability in the GIF decoder component. Specifically, the read_from_tensor callback passes an unclamped length parameter to memcpy, which can be exploited by attackers providing crafted or truncated GIF files. This can cause a segmentation fault resulting in denial of service or potentially leak adjacent heap memory contents. The vulnerability is addressed in commit 4e05dc2. No official remediation level or patch link is provided in the available data.
Potential Impact
Successful exploitation can cause application crashes (denial of service) due to segmentation faults or disclose adjacent heap memory contents, potentially leaking sensitive information. The vulnerability is exploitable without privileges or user interaction other than supplying a malicious GIF file. No known exploits in the wild have been reported.
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 update torchvision to a version including this fix once available. Until then, avoid processing untrusted GIF files with affected versions.
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/23/2026, 18:07:08 UTC
Last updated: 07/23/2026, 18:50:02 UTC
Views: 5
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.