Skip to main content
CVE-2026-65918VulnerabilityPublished Updated

PyTorch torchvision through 0.28.0, fixed

Affects pytorchSource GCVE Database

0
Compare
Authoritative record:CVE-2026-65918· High 7.1

Not known to be exploited · CVSS 7.1 High · fixed in 3.1 : patch pytorch soon.

Data as of 30 Nov 2026, 18:37 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pytorchpkg:deb/ubuntu/pytorch?arch=source&distro=stonkingOther threatsAffected
  • =2.9.1+dfsg-1~exp1ubuntu2
  • =2.12.1+dfsg-1
Fixed in–
Ubuntu 26.10pytorch-visionpkg:deb/ubuntu/pytorch-vision?arch=source&distro=stonkingOther threatsAffected
  • =0.27.0-3
Fixed in–
Ubuntu 26.04 LTSpytorchpkg:deb/ubuntu/pytorch?arch=source&distro=resoluteOther threatsAffected
  • =2.6.0+dfsg-7
  • =2.6.0+dfsg-9
  • =2.9.1+dfsg-1~exp1ubuntu2
Fixed in–
Ubuntu 22.04 LTSpytorchpkg:deb/ubuntu/pytorch?arch=source&distro=jammyOther threatsAffected
  • =1.7.1-7
  • =1.8.1-4
Fixed in–
Ubuntu 22.04 LTSpytorch-visionpkg:deb/ubuntu/pytorch-vision?arch=source&distro=jammyOther threatsAffected
  • =0.8.2-1
  • =0.8.2-1ubuntu1
  • =0.8.2-1ubuntu2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix for this vulnerability is available as it was addressed in commit 4e05dc2. Users should update to the fixed version of PyTorch torchvision beyond 0.28.0. No vendor advisory content was provided to indicate alternative mitigations or if no action is required.

Description

PyTorch torchvision versions through 0.28.0 contain an out-of-bounds heap read vulnerability in the GIF decoder's read_from_tensor callback. This flaw occurs because an unclamped length is passed to memcpy, allowing attackers to supply malicious or truncated GIF files that can cause a denial of service via segmentation fault or disclose adjacent heap memory contents.

References

Community reviews

Loading reviews…