CVE-2025-71368
Received Received - Intake

Picklescan Arbitrary Code Execution via doctest.debug_script Bypass

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

Publication date: 2026-06-30

Last updated on: 2026-06-30

Assigner: VulnCheck

Description

picklescan before 0.0.30 fails to detect the doctest.debug_script function when analyzing pickle files, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files embedding doctest.debug_script calls that bypass picklescan detection and execute arbitrary commands upon pickle.load invocation.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Currently, no data is known.

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 in picklescan versions before 0.0.30 is that it fails to detect the doctest.debug_script function when analyzing pickle files. This allows attackers to craft malicious pickle files that include calls to doctest.debug_script, which bypasses picklescan's detection mechanisms.

When such a malicious pickle file is loaded using pickle.load, it can execute arbitrary commands on the target system.

Impact Analysis

This vulnerability can allow remote attackers to execute arbitrary code on your system by tricking it into loading a malicious pickle file.

Such code execution can lead to unauthorized actions, potentially compromising system integrity, confidentiality, and availability.

Chat Assistant

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

EPSS Chart