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 does not detect malicious pickle files that embed torch.utils.data.datapipes.utils.decoder.basichandlers in their reduce methods, enabling unsafe deserialization that triggers arbitrary code execution during load. The flaw, classified as CWE‑502, allows an attacker to embed executable code into a pickle file that will run inside the picklescan process as soon as the file is deserialized, compromising confidentiality, integrity, and availability of the host system as the tool executes with whatever privileges it possesses.

Affected Systems

The vulnerability impacts the picklescan utility from mmaitre314. Any installation using a picklescan version earlier than 0.0.28 is exposed; the issue is resolved in version 0.0.28 and later.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity assessment, while an EPSS score of less than 1 % suggests exploitation is currently considered unlikely on a large scale. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the most likely attack vector involves an attacker crafting a pickle file that includes basichandlers in its reduce methods, then submitting that file to picklescan for analysis. If processed, the embedded code will execute during deserialization, granting the attacker remote execution capabilities, which can be especially dangerous if picklescan runs with elevated privileges or processes untrusted files.

Generated by OpenCVE AI on August 1, 2026 at 19:49 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 sandboxed or containerized environment with restricted filesystem, network, and privilege access.
  • Before deserialization, validate or strip any reduce methods that reference torch.utils.data.datapipes.utils.decoder.basichandlers from incoming pickle files.

Generated by OpenCVE AI on August 1, 2026 at 19:49 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

Status : Deferred

Published: 2026-07-04T02:16:22.963

Modified: 2026-07-06T18:19:55.220

Link: CVE-2025-71369

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T20:00:07Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data