Description
picklescan before 0.0.28 fails to detect malicious pickle files that use torch.utils.data.datapipes.utils.decoder.basichandlers in reduce methods, allowing attackers to bypass safety checks. Remote attackers can embed undetected malicious code in pickle files that executes during deserialization, enabling remote code execution.
Published: 2026-07-04
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

picklescan before version 0.0.28 fails to detect malicious pickle files that embed torch.utils.data.datapipes.utils.decoder.basichandlers in their reduce methods. This unsafe deserialization flaw, identified as CWE‑502, allows an attacker to embed code that automatically executes during deserialization, giving the attacker remote code execution inside the process that runs the tool.

Affected Systems

The vulnerability affects the picklescan utility produced by mmaitre314. Any installation using a version earlier than 0.0.28 is susceptible; versions 0.0.28 and later contain the fix.

Risk and Exploitability

The CVSS score of 7.6 classifies the vulnerability as high severity, while the EPSS score of less than 1 % indicates that exploitation is currently considered unlikely in the broader ecosystem. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the most likely attack path involves an attacker crafting a pickle file that includes basichandlers, then supplying it to picklescan for analysis; if processed, malicious code will execute during deserialization. The risk remains significant, especially if picklescan runs with elevated privileges or processes untrusted files.

Generated by OpenCVE AI on July 21, 2026 at 08:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade picklescan to version 0.0.28 or later.
  • Run picklescan inside a sandbox or container with limited filesystem, network, and privilege access.
  • Validate or strip any reduce methods from incoming pickle files that reference torch.utils.data.datapipes.utils.decoder.basichandlers before deserialization.

Generated by OpenCVE AI on July 21, 2026 at 08:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 04 Jul 2026 05:00:00 +0000

Type Values Removed Values Added
First Time appeared Picklescan
Picklescan picklescan
Vendors & Products Picklescan
Picklescan picklescan

Sat, 04 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
Description picklescan before 0.0.28 fails to detect malicious pickle files that use torch.utils.data.datapipes.utils.decoder.basichandlers in reduce methods, allowing attackers to bypass safety checks. Remote attackers can embed undetected malicious code in pickle files that executes during deserialization, enabling remote code execution.
Title picklescan - Unsafe Deserialization via torch.utils.data.datapipes.utils.decoder.basichandlers
First Time appeared Mmaitre314
Mmaitre314 picklescan
Weaknesses CWE-502
CPEs cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
Vendors & Products Mmaitre314
Mmaitre314 picklescan
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

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


Subscriptions

Mmaitre314 Picklescan
Picklescan Picklescan
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-06T16:26:52.279Z

Reserved: 2026-06-20T13:01:42.505Z

Link: CVE-2025-71369

cve-icon Vulnrichment

Updated: 2026-07-06T16:26:48.387Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T09:00:03Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data