Description
picklescan before 0.0.33 fails to detect unsafe deserialization when numpy.f2py.crackfortran functions call eval on arbitrary strings. Attackers can embed malicious code in pickle files that executes when loaded from untrusted sources.
Published: 2026-07-04
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in picklescan versions prior to 0.0.33, where the tool calls the NumPy f2py function crackfortran that internally evaluates untrusted strings with Python’s eval. This evaluation is performed on data extracted from pickle files, allowing an attacker to embed arbitrary Python code that will be executed when the pickle is loaded. The weakness is a classic unsafe deserialization flaw (CWE-502) and provides the attacker with the ability to run any code with the privileges of the picklescan process.

Affected Systems

The vulnerability affects the picklescan project developed by mmaitre314. All releases before 0.0.33 are listed as vulnerable; newer releases are not documented as affected.

Risk and Exploitability

The CVSS score of 7.6 classifies the vulnerability as high severity. The EPSS score of < 1 % indicates a very low but non-zero likelihood of exploitation, and the issue is not listed in the CISA KEV catalog, so no publicly known attacks are reported. The attack vector is inferred to be an attacker supplying a crafted pickle file to picklescan; when this file is processed, arbitrary code runs with the picklescan user’s permissions.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade picklescan to version 0.0.33 or later.
  • If an upgrade is not possible, ensure that only trusted parties can provide pickle files to the picklescan input.
  • Run picklescan inside a sandbox or container with restricted privileges to limit the impact of any potential code execution.

Generated by OpenCVE AI on July 21, 2026 at 08:54 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 02:45: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.33 fails to detect unsafe deserialization when numpy.f2py.crackfortran functions call eval on arbitrary strings. Attackers can embed malicious code in pickle files that executes when loaded from untrusted sources.
Title picklescan - Arbitrary Code Execution via Unsafe Deserialization in numpy.f2py.crackfortran
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-06T17:10:32.237Z

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

Link: CVE-2025-71362

cve-icon Vulnrichment

Updated: 2026-07-06T17:09:23.663Z

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