<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Picklescan &lt; 0.0.30 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/picklescan--0.0.30/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 04 Jul 2026 02:20:22 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/picklescan--0.0.30/feed.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2025-71345: Picklescan Malicious Pickle File Detection Bypass Leading to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71345-picklescan-rce/</link><pubDate>Sat, 04 Jul 2026 02:20:22 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-cve-2025-71345-picklescan-rce/</guid><description>CVE-2025-71345 describes a critical vulnerability in `picklescan` versions prior to 0.0.30, where attackers can embed undetected malicious code within pickle files that specifically invoke the `torch.utils.bottleneck.__main__.run_autograd_prof` function, leading to remote code execution upon deserialization by bypassing `picklescan`'s security checks.</description><content:encoded><![CDATA[<p>CVE-2025-71345 identifies a significant vulnerability affecting <code>picklescan</code> versions released before 0.0.30. This flaw enables threat actors to craft malicious pickle files containing embedded code that <code>picklescan</code> fails to detect, specifically when the code leverages the <code>torch.utils.bottleneck.__main__.run_autograd_prof</code> function. By exploiting this oversight, attackers can bypass the intended security scanning mechanisms of <code>picklescan</code> and achieve remote code execution (RCE) on systems that deserialize these specially crafted files. This vulnerability presents a high risk as it allows for undetectable arbitrary code execution, undermining the integrity and security of applications relying on <code>picklescan</code> for safe deserialization of Python objects, particularly in machine learning environments where pickle files are commonly used for model persistence.</p>
<h2 id="attack-chain">Attack Chain</h2>
<p>The provided source describes a vulnerability in <code>picklescan</code>'s detection capabilities rather than a multi-stage attack chain in the wild. The exploitation scenario primarily involves the delivery and deserialization of a specially crafted malicious file. Therefore, a multi-step attack chain as observed in active campaigns cannot be accurately constructed from this information.</p>
<p>However, the core exploitation flow is as follows:</p>
<ol>
<li><strong>Initial Access</strong>: An attacker delivers a malicious pickle file to a victim system (e.g., via email, download from an untrusted source, or compromised data pipeline).</li>
<li><strong>Defense Evasion (Bypass <code>picklescan</code>)</strong>: The malicious pickle file is crafted to invoke the <code>torch.utils.bottleneck.__main__.run_autograd_prof</code> function, which <code>picklescan</code> versions &lt; 0.0.30 fail to identify as malicious.</li>
<li><strong>Deserialization</strong>: The victim application or system attempts to load and deserialize the seemingly benign pickle file, potentially after a failed <code>picklescan</code> check.</li>
<li><strong>Arbitrary Code Execution</strong>: During the deserialization process, the embedded malicious code within the pickle file is executed in the context of the application.</li>
<li><strong>Impact</strong>: The executed code performs actions determined by the attacker, such as system compromise, data exfiltration, or further malware deployment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2025-71345 results in unauthenticated remote code execution on systems that process untrusted pickle files with vulnerable versions of <code>picklescan</code>. This allows attackers to bypass security measures, gain full control over the affected system, steal sensitive data, deploy ransomware, or establish persistence within the network. The vulnerability has a CVSS v3.1 base score of 8.1 (High), underscoring the severe consequences of exploitation, particularly in environments handling machine learning models or other serialized Python objects where <code>picklescan</code> is deployed for security scanning.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li><strong>Patch CVE-2025-71345 immediately</strong>: Update <code>picklescan</code> to version 0.0.30 or newer to mitigate the vulnerability and ensure proper detection of malicious pickle files.</li>
<li><strong>Implement Secure Deserialization Practices</strong>: Restrict the deserialization of pickle files from untrusted or unverified sources, as described by CWE-502.</li>
<li><strong>Educate Users</strong>: Train users and developers about the risks associated with handling untrusted serialized data, including pickle files.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>remote-code-execution</category><category>deserialization</category><category>python</category><category>machine-learning</category><category>vulnerability</category></item><item><title>CVE-2025-71343 — picklescan Detection Bypass via Malicious Pickle Files</title><link>https://feed.craftedsignal.io/briefs/2026-07-picklescan-detection-bypass/</link><pubDate>Sat, 04 Jul 2026 02:19:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-picklescan-detection-bypass/</guid><description>A deserialization vulnerability, CVE-2025-71343, in picklescan before version 0.0.30 allows attackers to craft malicious pickle files that evade detection and lead to arbitrary code execution when loaded via `pickle.load()`.</description><content:encoded><![CDATA[<p>CVE-2025-71343 describes a critical vulnerability affecting <code>picklescan</code> versions prior to 0.0.30. This flaw stems from a detection bypass related to the <code>lib2to3.pgen2.pgen.ParserGenerator.make_label</code> function within the <code>reduce</code> method, which is a key component in parsing Python bytecode. Attackers can leverage this vulnerability to craft highly sophisticated malicious pickle files. These files are specifically designed to contain embedded arbitrary commands but will successfully evade <code>picklescan</code>'s security checks. When an application on a vulnerable system then uses the standard <code>pickle.load()</code> function to deserialize one of these malicious files, the embedded commands are executed, resulting in arbitrary code execution. This poses a significant risk to systems that process untrusted pickle files, as the primary defense mechanism (<code>picklescan</code>) is rendered ineffective against this specific evasion technique.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker crafts a malicious Python pickle file containing arbitrary code, specifically exploiting the <code>lib2to3.pgen2.pgen.ParserGenerator.make_label</code> function's <code>reduce</code> method to bypass <code>picklescan</code>'s detection.</li>
<li>The malicious pickle file is delivered to a target system, potentially through methods such as email attachments, malicious web downloads, or integration into a compromised software supply chain.</li>
<li>An application or user on the target system processes or scans the received pickle file using <code>picklescan</code> version prior to 0.0.30.</li>
<li>Due to CVE-2025-71343, <code>picklescan</code> fails to identify the embedded malicious payload, incorrectly marking the file as benign.</li>
<li>A Python application or script on the target system subsequently loads the &quot;undetected&quot; malicious pickle file using <code>pickle.load()</code>.</li>
<li>During the deserialization process, the embedded arbitrary code within the pickle file is executed in the context of the Python application.</li>
<li>The attacker achieves arbitrary command execution on the compromised system, potentially leading to full system compromise, data exfiltration, or further lateral movement.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2025-71343 allows an attacker to achieve arbitrary code execution on systems that process untrusted pickle files using vulnerable versions of <code>picklescan</code>. This can lead to complete system compromise, unauthorized access to sensitive data, installation of malware, or disruption of services. While no specific victim counts are provided, any organization or individual processing Python pickle files in environments where <code>picklescan</code> is used for security vetting (especially in data science, machine learning, or software development contexts) is at risk. The undetected nature of the attack makes it particularly dangerous, as security tools designed to prevent such threats are bypassed.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update <code>picklescan</code> to version 0.0.30 or later immediately to patch CVE-2025-71343 and address the detection bypass vulnerability.</li>
<li>Implement strict controls on the ingestion and processing of untrusted pickle files, regardless of <code>picklescan</code>'s output, especially from external or unverified sources.</li>
<li>Educate users and developers about the risks associated with deserializing untrusted data, specifically in the context of Python pickle files, to prevent arbitrary code execution (CWE-502).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>deserialization</category><category>remote-code-execution</category><category>python</category><category>vulnerability</category><category>detection-bypass</category></item><item><title>CVE-2025-71342: picklescan Remote Code Execution Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-07-picklescan-rce/</link><pubDate>Sat, 04 Jul 2026 02:18:42 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-picklescan-rce/</guid><description>A critical vulnerability (CVE-2025-71342) exists in picklescan versions prior to 0.0.30, where it fails to detect malicious code embedded in Python pickle files by leveraging `idlelib.run.Executive.runcode` in reduce methods, allowing attackers to conceal and execute arbitrary code during `pickle.load` operations, leading to remote code execution (RCE) and potential supply chain attacks, particularly impacting PyTorch models.</description><content:encoded><![CDATA[<p>CVE-2025-71342 identifies a significant vulnerability within <code>picklescan</code> versions prior to 0.0.30, a Python library designed to scan pickle files for malicious content. The flaw stems from <code>picklescan</code>'s inability to adequately detect embedded malicious code when attackers specifically use <code>idlelib.run.Executive.runcode</code> within the reduce methods of a Python pickle file. This oversight allows threat actors to craft seemingly benign pickle files that, upon deserialization using <code>pickle.load</code>, will execute arbitrary code. The vulnerability poses a severe risk, particularly for environments handling untrusted pickle files, such as those involving machine learning models (e.g., PyTorch models). Successful exploitation can lead to remote code execution (RCE) on the target system and facilitate widespread supply chain attacks by injecting malicious logic into widely distributed models or data.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a specially designed Python pickle file containing arbitrary code.</li>
<li>The malicious code is embedded within the pickle file's reduce methods, specifically leveraging <code>idlelib.run.Executive.runcode</code> to obscure its true intent.</li>
<li>The attacker then distributes this malicious pickle file, potentially by injecting it into a software supply chain (e.g., a shared machine learning model repository).</li>
<li>A victim system or application, such as a PyTorch model loader, downloads or receives the compromised pickle file.</li>
<li>The application attempts to deserialize the pickle file using Python's <code>pickle.load()</code> function.</li>
<li>During the deserialization process, <code>picklescan</code> (if present and vulnerable, i.e., version &lt; 0.0.30) fails to identify the <code>idlelib.run.Executive.runcode</code> as a malicious primitive.</li>
<li>The embedded arbitrary code within the pickle file's reduce methods is consequently executed by the Python interpreter on the victim's system.</li>
<li>This results in remote code execution (RCE), allowing the attacker to compromise the host system and potentially exfiltrate data or establish persistence.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of CVE-2025-71342 carries severe consequences, primarily remote code execution (RCE) with a CVSS v3.1 base score of 8.1 (High severity). This vulnerability can lead to complete compromise of the affected system's confidentiality and integrity, as attackers gain the ability to execute arbitrary commands. The primary risk lies in supply chain attacks, where malicious pickle files can be distributed through legitimate channels, infecting numerous downstream users. PyTorch models, often distributed as pickle files, are particularly vulnerable, meaning that compromised models could propagate malware to researchers, developers, and production systems globally, leading to widespread data theft, system sabotage, or further network penetration.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately update <code>picklescan</code> to version 0.0.30 or later to remediate CVE-2025-71342.</li>
<li>Implement strict validation and sandboxing for deserialization of Python pickle files, especially those from untrusted or external sources.</li>
<li>Educate development teams on the risks associated with deserializing untrusted data, specifically in the context of CVE-2025-71342 and <code>pickle.load</code>.</li>
<li>Review existing practices for handling and loading machine learning models (e.g., PyTorch models) to ensure only verified and scanned pickle files are processed.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>rce</category><category>supply-chain</category><category>python</category><category>pickle</category><category>pytorch</category></item></channel></rss>