Security mailing lists by PureSourceCode

CVE-2025-1945

MEDIUM 5.3CVSS 4.0

Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch

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.

Published
10 Mar 2025
Last modified
17 Jun 2026
Assigned by
103e4ec9-0a87-450b-af77-479448ddef11
NVD status
Modified
Weakness
CWE-345
Also known as
GHSA-w8jq-xcqf-f792PYSEC-2025-21
Sources
NVDJSONOSV GHSA-w8jq-xcqf-f792JSONOSV PYSEC-2025-21JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 103e4ec9-0a87-450b-af77-479448ddef11 (Secondary) CVSS 4.0 MEDIUM 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mmaitre314 picklescan
cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:*
< 0.0.23 0.0.23
OSV PyPI picklescan < 0.0.23 0.0.23

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 10 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.