Remote Code Execution in picklescan <0.0.25 due to unrecognized pickle files
CVE-2025-71351 Published on June 21, 2026

picklescan - Remote Code Execution via timeit.timeit() Detection Bypass
picklescan before 0.0.25 fails to detect malicious pickle files that use timeit.timeit() in the __reduce__ method, allowing remote code execution. Attackers can craft pickle files that import dangerous libraries like os and execute arbitrary system commands, which evade picklescan detection and execute when pickle.load() is called.

Vendor Advisory NVD

Weakness Type

What is a Denylist / Deny List Vulnerability?

The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete, leading to resultant weaknesses. Developers often try to protect their products against malicious input by performing tests against inputs that are known to be bad, such as special characters that can invoke new commands. However, such lists often only account for the most well-known bad inputs. Attackers may be able to find other malicious inputs that were not expected by the developer, allowing them to bypass the intended protection mechanism.

CVE-2025-71351 has been classified to as a Denylist / Deny List vulnerability or weakness.


Products Associated with CVE-2025-71351

Want to know whenever a new CVE is published for Mmaitre314 Picklescan? stack.watch will email you.

 

Affected Versions

picklescan: