---
id: CVE-2025-71345
title: >-
  picklescan before 0.0.30 fails to detect malicious pickle files that invoke
  torch.utils.bottleneck.__main__.run_autograd_prof function
summary: >-
  picklescan before 0.0.30 fails to detect malicious pickle files that invoke
  torch.utils.bottleneck.__main__.run_autograd_prof function. Attackers can
  embed undetected code in pickle files that executes during deserialization,
  enabling re…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-502
published: '2026-07-04'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71345'
references:
  - url: >-
      https://github.com/mmaitre314/picklescan/security/advisories/GHSA-4whj-rm5r-c2v8
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-torch-utils-bottleneck-main-run-autograd-prof
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00613
epssPercentile: 0.47132
ingestedAt: '2026-07-04T21:57:46.829Z'
---

## Overview

picklescan before 0.0.30 fails to detect malicious pickle files that invoke torch.utils.bottleneck.__main__.run_autograd_prof function. Attackers can embed undetected code in pickle files that executes during deserialization, enabling remote code execution.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
