CVE-2026-65918
published high CVSS 4.0 · 7.1PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pytorch | — | vision0 through 0.28.0 (affected · semver) · 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pytorch | vision | 0 through 0.28.0 (affected · semver)4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
4- Patch Commit https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed
- Researcher Disclosure https://github.com/pytorch/vision/issues/9551
- Pull Request https://github.com/pytorch/vision/pull/9520
- https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read
Provider assertions
2VulnCheck · cna
PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c3cf841672f146afc4c37a7be43c2d77fc2dfa28e4c3779a1e88aedb79a40da0
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record