CVE-2025-71350
Deferred Deferred - Pending Action

Pickle Deserialization RCE in Picklescan

Vulnerability report for CVE-2025-71350, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-07-01

Assigner: VulnCheck

Description

picklescan before 0.0.28 fails to detect malicious pickle files using torch.utils.collect_env.run function in reduce methods. Attackers can embed undetected code in pickle files that executes remote commands when loaded by victims.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-07-01
Generated
2026-07-21
AI Q&A
2026-07-01
EPSS Evaluated
2026-07-19
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
picklescan picklescan to 0.0.28 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability exists in picklescan versions before 0.0.28, where it fails to detect malicious pickle files that use the torch.utils.collect_env.run function in their reduce methods.

Attackers can embed undetected code within these pickle files, which then executes remote commands when the files are loaded by victims.

Detection Guidance

This vulnerability involves malicious pickle files that bypass picklescan detection when using versions before 0.0.28. Detection involves identifying usage of vulnerable picklescan versions and inspecting pickle files for suspicious reduce methods invoking torch.utils.collect_env.run.

To detect vulnerable picklescan versions on your system, you can check the installed version with the command:

  • pip show picklescan

To scan pickle files for malicious payloads, use picklescan (if updated to 0.0.28 or later) with:

  • picklescan <pickle_file>

If you cannot update picklescan, manually inspect pickle files for suspicious reduce methods that call torch.utils.collect_env.run by using Python commands or scripts to analyze pickle contents, though no specific commands are provided in the resources.

Impact Analysis

This vulnerability can allow attackers to execute remote commands on a victim's system by tricking them into loading a malicious pickle file.

Such remote command execution can lead to unauthorized actions, potential system compromise, data breaches, or other malicious activities depending on the attacker's intent.

Compliance Impact

The vulnerability allows remote code execution through malicious pickle files, which can lead to unauthorized execution of code within affected systems.

Such unauthorized code execution can compromise the confidentiality and integrity of data processed or stored by the affected software, potentially leading to data breaches.

Data breaches and unauthorized access to sensitive information can result in non-compliance with regulations like GDPR and HIPAA, which mandate strict controls over data protection and privacy.

Therefore, organizations using vulnerable versions of picklescan may face increased risk of regulatory violations if this vulnerability is exploited.

Mitigation Strategies

The primary mitigation step is to update picklescan to version 0.0.28 or later, where the vulnerability is patched.

Additionally, avoid loading pickle files from untrusted or unauthenticated sources to prevent execution of malicious code embedded in pickle files.

Implement strict validation and scanning of pickle files before loading them in your environment.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71350. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart