UBUNTU-CVE-2026-65918

Source
https://ubuntu.com/security/CVE-2026-65918
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65918.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-65918
Upstream
Published
2026-07-23T18:17:00Z
Modified
2026-07-29T10:19:00Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H CVSS Calculator
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.1-7
1.8.1-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libtorch-test",
            "binary_version": "1.8.1-4"
        },
        {
            "binary_name": "libtorch1.8",
            "binary_version": "1.8.1-4"
        },
        {
            "binary_name": "python3-torch",
            "binary_version": "1.8.1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65918.json"

Ubuntu:22.04:LTS / pytorch-vision

Package

Name
pytorch-vision
Purl
pkg:deb/ubuntu/pytorch-vision?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.2-1
0.8.2-1ubuntu1
0.8.2-1ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-torchvision",
            "binary_version": "0.8.2-1ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65918.json"

Ubuntu:26.04:LTS / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.6.0+dfsg-7
2.6.0+dfsg-9
2.9.1+dfsg-1~exp1ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libtorch-test",
            "binary_version": "2.9.1+dfsg-1~exp1ubuntu2"
        },
        {
            "binary_name": "libtorch2.9",
            "binary_version": "2.9.1+dfsg-1~exp1ubuntu2"
        },
        {
            "binary_name": "python3-torch",
            "binary_version": "2.9.1+dfsg-1~exp1ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65918.json"