Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-65918— PyTorch torchvision GIF Decoder Out-of-bounds Heap Read

Quick assessment

Affected
pytorch vision
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PyTorch是PyTorch基金会开源的一个 Python 包。 PyTorch 0.28.0及之前版本存在缓冲区错误漏洞,该漏洞源于GIF解码器的read_from_tensor回调函数中未对memcpy长度参数进行限制,导致越界堆读取,攻击者可通过提供恶意或截断的GIF文件造成拒绝服务或泄露相邻堆内存内容。

CVSS 7.1 · High EPSS 0.45% · P36

Affected Version Matrix 2

VendorProduct Version RangeStatus
pytorch vision ≤ 0.28.0 affected
4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65918

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5
Vulnerability Title
PyTorch 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PyTorch是PyTorch基金会开源的一个 Python 包。 PyTorch 0.28.0及之前版本存在缓冲区错误漏洞,该漏洞源于GIF解码器的read_from_tensor回调函数中未对memcpy长度参数进行限制,导致越界堆读取,攻击者可通过提供恶意或截断的GIF文件造成拒绝服务或泄露相邻堆内存内容。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pytorch vision 0 ~ 0.28.0 -

II. Public POCs for CVE-2026-65918

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10478 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-65918

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-65918 (2)

Vendor Advisories for CVE-2026-65918 (1)

Security Blog Posts for CVE-2026-65918 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-65918

No comments yet


Leave a comment