CVE-2026-108947

yoshitomo-matsubara torchdistill main_util.py load_ckpt deserialization

Published Oct 13, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
A flaw has been found in yoshitomo-matsubara torchdistill up to 1.1.5. This affects the function load_ckpt of the file torchdistill/common/main_util.py. Executing a manipulation of the argument src_ckpt can lead to deserialization. The attack needs to be launched locally. The exploit has been published and may be used. The project maintainer explains: "This is very similar to an internal report that GH auto-generated for the owner before, which I found tolerable for this project at that time. So I will close this as duplicate."

Analysis

AI-generated

Technical impact

The vulnerability lies in the load_ckpt function of torchdistill’s common/main_util.py, where a manipulated src_ckpt argument causes unsafe deserialization. This flaw, classified as CWE-20 (Improper Input Validation) and CWE-502 (Deserialization of Untrusted Data), permits an attacker who can influence the parameter to load maliciously crafted data, leading to code execution or other unintended behavior. The impact is limited to the environment where the function is executed and requires the attacker to have local access to invoke the function.

Affected Systems

The flaw affects the open-source library torchdistill maintained by yoshitomo-matsubara, specifically versions up to and including 1.1.5. users of these versions that import and use load_ckpt should consider themselves vulnerable. No specific operating systems or platforms are singled out; the issue depends on local execution of the Python code.

Risk and Exploitability

The CVSS score of 4.8 indicates a low severity risk. EPSS data is not available, so the likelihood of exploitation is unclear, but the fact that an exploit has been published and the flaw requires local execution implies that safety is only relevant if the code is run in an environment with untrusted input. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to gain local access to run load_ckpt with a crafted checkpoint, often common in research or deployment scenarios where checkpoint files are loaded from untrusted sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to torchdistill 1.1.6 or later to obtain the fixed load_ckpt implementation.
  • If an upgrade is not available, patch the load_ckpt function locally to validate src_ckpt and use safe deserialization procedures or restrict the function to load only checkpoint files located in trusted directories.
  • Run load_ckpt only within a restricted, least‑privileged environment and verify checkpoint integrity (e.g., hash or digital signature) before loading to limit the impact of a potential deserialization attack.

Generated by OpenCVE AI on October 13, 2026 at 02:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw has been found in yoshitomo-matsubara torchdistill up to 1.1.5. This affects the function load_ckpt of the file torchdistill/common/main_util.py. Executing a manipulation of the argument src_ckpt can lead to deserialization. The attack needs to be launched locally. The exploit has been published and may be used. The project maintainer explains: "This is very similar to an internal report that GH auto-generated for the owner before, which I found tolerable for this project at that time. So I will close this as duplicate."
Title yoshitomo-matsubara torchdistill main_util.py load_ckpt deserialization
First Time appeared Yoshitomo-matsubara
Yoshitomo-matsubara torchdistill
Weaknesses CWE-20
CWE-502
CPEs cpe:2.3:a:yoshitomo-matsubara:torchdistill:*:*:*:*:*:*:*:*
Vendors & Products Yoshitomo-matsubara
Yoshitomo-matsubara torchdistill
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 13, 2026, 1:23 PM
Reserved
Oct 11, 2026, 6:58 PM
Status
Deferred
Published
Oct 13, 2026, 2:16 AM
Modified
Oct 13, 2026, 2:17 PM