CVE-2025-71368
published high CVSS 4.0 · 7.6picklescan - Arbitrary Code Execution via Undetected doctest.debug_script
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| picklescan | — | picklescan0 to < 0.0.30 (affected · semver) · 0.0.30 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| picklescan | picklescan | 0 to < 0.0.30 (affected · semver)0.0.30 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-502 Deserialization of Untrusted Data
References
2- GitHub Security Advisory (GHSA-fqq6-7vqf-w3fg) https://github.com/mmaitre314/picklescan/security/advisories/GHSA-fqq6-7vqf-w3fg
- VulnCheck Advisory: picklescan - Arbitrary Code Execution via Undetected doctest.debug_script https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-undetected-doctest-debug-script
Provider assertions
2VulnCheck · cna
picklescan - Arbitrary Code Execution via Undetected doctest.debug_script
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6967dd2807539c5a981ab291c28da1713708c6b696d16980459d5ac3e2e55dd9
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record