p PatchFirst

CVE-2025-1945

CVE-2025-1945 · picklescan - Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch

This page contains facts from public vulnerability sources. Check the original advisory before updating.

picklescan before 0.0.23 fails to detect malicious pickle files inside PyTorch model archives when certain ZIP file flag bits are modified. By flipping specific bits in the ZIP file headers, an attacker can embed malicious pickle files that remain undetected by PickleScan while still being successfully loaded by PyTorch's torch.load(). This can lead to arbitrary code execution when loading a compromised model.

CVSS 5.3 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • picklescan

    Versions
    • ≥ 0.0.1, < 0.0.23: Affected (python)

    Update to 0.0.23

  • picklescan PyPI

    Versions
    • 0.0.1
    • 0.0.10
    • 0.0.11
    • 0.0.12
    • 0.0.13
    • 0.0.14
    • 0.0.15
    • 0.0.16
    • 0.0.17
    • 0.0.18
    • 0.0.19
    • 0.0.2
    • 0.0.20
    • 0.0.21
    • 0.0.22
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    • 0.0.7
    • 0.0.8
    • 0.0.9
    Affected ranges
    • ECOSYSTEM: < 0.0.23

    Update to 0.0.23

  • picklescan PyPI

    Versions
    • 0.0.1
    • 0.0.10
    • 0.0.11
    • 0.0.12
    • 0.0.13
    • 0.0.14
    • 0.0.15
    • 0.0.16
    • 0.0.17
    • 0.0.18
    • 0.0.19
    • 0.0.2
    • 0.0.20
    • 0.0.21
    • 0.0.22
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    • 0.0.7
    • 0.0.8
    • 0.0.9
    Affected ranges
    • GIT: < e58e45e0d9e091159c1554f9b04828bbb40b9781
    • ECOSYSTEM: < 0.0.23

    Update to 0.0.23

Original sources

Check your server →