Skip to main content

Insufficient Verification of Data Authenticity

CVE-2025-1945

Severity Medium
Score 5.3/10

Summary

The picklescan package prior to 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. This issue shares the same fix commit as CVE-2025-1944.

  • LOW
  • NETWORK
  • PASSIVE
  • NONE

CWE-345 - Insufficient Verification of Data Authenticity

The software does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

Advisory Timeline

  • Published