CVE-2025-71368

published 30 Jun 2026 · updated 1 Jul 2026

picklescan - Arbitrary Code Execution via Undetected doctest.debug_script

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.0.30.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
picklescan<0.0.300.0.30

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71368 severity on Zeptric[![CVE-2025-71368](https://zeptric.io/badge/cve/CVE-2025-71368.svg)](https://zeptric.io/cve/CVE-2025-71368)