Description
picklescan before 0.0.33 fails to block the ctypes module, allowing attackers to achieve remote code execution by invoking direct syscalls and accessing raw memory. Attackers can craft malicious pickle files using ctypes.WinDLL to load kernel32.dll and execute arbitrary commands, bypassing sandbox protections and gadget chain detection.
Published: 2026-06-17
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

picklescan before version 0.0.33 does not block the ctypes module, which allows an attacker to craft a malicious pickle file that uses ctypes.WinDLL to load kernel32.dll and invoke direct system calls. This flaw enables the execution of arbitrary commands and bypasses any sandbox or gadget chain detection provided by the application.

Affected Systems

The vulnerability affects the picklescan tool developed by mmaitre314. All releases before 0.0.33 are vulnerable; versions starting with 0.0.33 and later include the protection that blocks the ctypes module.

Risk and Exploitability

The CVSS score of 9.3 classifies the flaw as critical, while the EPSS score of less than 1% indicates a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Attackers likely exploit this flaw by delivering a malicious pickle payload to an application that loads picklescan and deserializes untrusted data, causing remote code execution from the attacker's side.

Generated by OpenCVE AI on June 18, 2026 at 17:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update picklescan to version 0.0.33 or later to apply the vendor fix that blocks the ctypes module.
  • If an upgrade is not immediately possible, configure the runtime environment to prevent the import of ctypes or remove ctypes from the available namespace for deserialization contexts.
  • Require applications that use picklescan to validate or sandbox pickle deserialization, rejecting unknown or untrusted pickle files before processing.

Generated by OpenCVE AI on June 18, 2026 at 17:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4675-36f9-wf6r Picklescan does not block ctypes
History

Thu, 18 Jun 2026 04:45:00 +0000

Type Values Removed Values Added
Description picklescan before 0.0.33 fails to block the ctypes module, allowing attackers to achieve remote code execution by invoking direct syscalls and accessing raw memory. Attackers can craft malicious pickle files using ctypes.WinDLL to load kernel32.dll and execute arbitrary commands, bypassing sandbox protections and gadget chain detection.
Title picklescan - Remote Code Execution via Unblocked ctypes Module
First Time appeared Mmaitre314
Mmaitre314 picklescan
Weaknesses CWE-184
CPEs cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
Vendors & Products Mmaitre314
Mmaitre314 picklescan
References
Metrics cvssV3_1

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

cvssV4_0

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

ssvc

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


Subscriptions

Mmaitre314 Picklescan
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-17T17:49:31.826Z

Reserved: 2026-06-08T20:44:31.209Z

Link: CVE-2025-71323

cve-icon Vulnrichment

Updated: 2026-06-17T17:49:18.338Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T17:45:13Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs