UBUNTU-CVE-2026-136431

Source
https://ubuntu.com/security/CVE-2026-136431
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-136431.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-136431
Upstream
  • CVE-2026-136431
Published
2026-11-24T19:18:00Z
Modified
2026-11-25T21:31:11Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

PyTorch Foundation PyTorch load_state_dict_from_url Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PyTorch Foundation PyTorch. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the load_state_dict_from_url function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-32601.

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-136431.json"

Ubuntu:26.10 / pytorch

Package

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

Affected ranges

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

Affected versions

2.*
2.9.1+dfsg-1~exp1ubuntu2
2.12.1+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtorch-test",
            "binary_version":  "2.12.1+dfsg-1"
        },
        {
            "binary_name":  "libtorch2.12",
            "binary_version":  "2.12.1+dfsg-1"
        },
        {
            "binary_name":  "python3-torch",
            "binary_version":  "2.12.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-136431.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-136431.json"