Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-65918: Out-of-bounds Read in pytorch vision

0
High
VulnerabilityCVE-2026-65918cvecve-2026-65918
Published: 07/23/2026 (07/23/2026, 17:36:42 UTC)
Source: CVE Database V5
Vendor/Project: pytorch
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
vision
pkg:github/vision
Affected versions
<=0.28.0

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

AILast updated: 07/23/2026, 18:07:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses