Out-of-bounds Read in Linuxfoundation Torchvision

CVE-2026-65918

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.

Vulnerability class: Buffer Overflow

EPSS: 0.003 (25.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-65918?
CVE-2026-65918 is a high-severity vulnerability in Linuxfoundation Torchvision, classified under Out-of-bounds Read. CVSS score: 7.1/10. Published 2026-07-23.
How severe is CVE-2026-65918?
High severity. CVSS v3 base score is 7.1 out of 10.