---
id: GHSA-5rph-q42j-36j9
title: >-
  Duplicate Advisory: Picklescan has pickle parsing logic flaw that leads to
  malicious pickle file bypass
summary: >-
  Duplicate Advisory: Picklescan has pickle parsing logic flaw that leads to
  malicious pickle file bypass
severity: critical
cvss: 9.8
cwe:
  - CWE-391
vendor: picklescan
product: picklescan
ecosystem: pip
affected:
  - picklescan < 0.0.27
published: '2026-06-17'
updated: '2026-06-18'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-5rph-q42j-36j9'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71325'
  - url: >-
      https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-detection-bypass-via-stack-global-opcode-parsing-logic-flaw
  - url: 'https://github.com/advisories/GHSA-5rph-q42j-36j9'
tags:
  - ghsa
  - pip
ingestedAt: '2026-06-29T14:31:47.203Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-9gvj-pp9x-gcfr. This link is maintained to preserve external references.

## Original Description

picklescan before 0.0.27 contains a parsing logic error in the _list_globals function when handling STACK_GLOBAL opcodes, failing to track arguments in the correct range and allowing malicious pickle files to bypass detection. Attackers can craft pickle files with arguments at position zero to trigger unexpected exceptions and evade security scanning.

## Affected packages

- `picklescan < 0.0.27`

## Remediation

Refer to the advisory for the patched release.
