CVE-2026-65918 PyTorch torchvision GIF Decoder Out-of-bounds Heap Read
HighCVSS 7.1
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
33 packages: 2 fixed, 31 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pytorch-vision(Debian 12) | = 0.14.1-2; = 0.15.2-1; = 0.19.1-1; = 0.20.1-1 +10 more | No fix listed | No fix yet |
| debian/pytorch-vision(Debian 13) | = 0.21.0-3; = 0.24.1-1; = 0.27.0-1; = 0.27.0-1~exp1 +4 more | No fix listed | No fix yet |
| debian/pytorch-vision(Debian 14) | = 0.21.0-3; = 0.24.1-1; = 0.27.0-1; = 0.27.0-1~exp1 +4 more | No fix listed | No fix yet |
| redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat lightspeed_core) | All versions | No fix listed | No fix yet |
| redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat lightspeed_core) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-automl-rhel9:1791535789(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-autorag-rhel9:1791557539(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791902759(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791867208(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cuda130-torch210-py312-rhel9:1791961113(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cuda130-torch291-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-rocm64-torch291-py312-rhel9:1791872119(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-training-cuda128-torch29-py312-rhel9:1791786619(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-training-rocm64-torch29-py312-rhel9:1791809402(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1791867191(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1791867189(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/pytorch(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/pytorch(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/pytorch(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/pytorch-vision(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
… and 3 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi torchvision | <= 0.28.0 | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791902759(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791867208(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1791867191(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1791867189(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-automl-rhel9:1791535789(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-autorag-rhel9:1791557539(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cuda130-torch210-py312-rhel9:1791961113(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-th06-rocm64-torch291-py312-rhel9:1791872119(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-training-cuda128-torch29-py312-rhel9:1791786619(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-training-rocm64-torch29-py312-rhel9:1791809402(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat:lightspeed_core) | All versions | No fix listed |
| redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat:lightspeed_core) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cuda130-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| debian/pytorch-vision(Debian:12) | All versions | No fix listed |
Show 35 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pytorch-vision(Debian:12) | = 0.14.1-2 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.15.2-1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.19.1-1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.20.1-1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.21.0-1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.21.0-2 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.21.0-3 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.24.1-1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.27.0-1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.27.0-1~exp1 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.27.0-2 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.27.0-3 | No fix listed |
| debian/pytorch-vision(Debian:12) | = 0.29.1-1~exp1 | No fix listed |
| debian/pytorch-vision(Debian:13) | All versions | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.21.0-3 | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.24.1-1 | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.27.0-1 | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.27.0-1~exp1 | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.27.0-2 | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.27.0-3 | No fix listed |
| debian/pytorch-vision(Debian:13) | = 0.29.1-1~exp1 | No fix listed |
| debian/pytorch-vision(Debian:14) | All versions | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.21.0-3 | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.24.1-1 | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.27.0-1 | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.27.0-1~exp1 | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.27.0-2 | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.27.0-3 | No fix listed |
| debian/pytorch-vision(Debian:14) | = 0.29.1-1~exp1 | No fix listed |
| ubuntu/pytorch(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/pytorch-vision(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/pytorch(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/pytorch(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/pytorch-vision(Ubuntu:26.10) | All versions | No fix listed |
| linuxfoundation torchvision | <= 0.28.0 | No fix listed |
References
- Researcher Disclosure exploit issue-tracking technical-description
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com exploit patch third-party-advisory
- Red Hat CVE page vendor-advisory
- RHSA-2026:87410 patch vendor-advisory
- RHSA-2026:84734 patch vendor-advisory
- Red Hat Bugzilla 2506549 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-65918 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-48341 third-party-advisory