CVE-2025-71368

picklescan - Arbitrary Code Execution via Undetected doctest.debug_script

State
Published
Severity
7.6 High
Published
Jun 30, 2026
Updated
Jul 1, 2026
Reserved
Jun 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.6 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NVulnCheck

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
picklescanpicklescan
  • before 0.0.30Affected
  • 0.0.30Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.