#1142689 pytorch-vision: CVE-2026-65918

Package:
src:pytorch-vision
Source:
src:pytorch-vision
Submitter:
Salvatore Bonaccorso
Date:
2026-07-30 17:37:11 UTC
Severity:
normal
Tags:
#1142689#5
Date:
2026-07-24 07:06:58 UTC
From:
To:
Hi,

The following vulnerability was published for pytorch-vision.

CVE-2026-65918[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-65918
https://www.cve.org/CVERecord?id=CVE-2026-65918
[1] https://github.com/pytorch/vision/issues/9551
[2] https://github.com/pytorch/vision/pull/9520
[3] https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore