Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. picklescan
  4. ›
  5. CVE-2025-1944

CVE-2025-1944: Zip Exploit Crashes Picklescan But Not PyTorch

March 10, 2025 (updated April 9, 2025)

PickleScan is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to extract and scan PyTorch model archives. By modifying the filename in the ZIP header while keeping the original filename in the directory listing, an attacker can make PickleScan raise a BadZipFile error. However, PyTorch’s more forgiving ZIP implementation still allows the model to be loaded, enabling malicious payloads to bypass detection.

References

  • github.com/advisories/GHSA-7q5r-7gvp-wc82
  • github.com/mmaitre314/picklescan
  • github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781
  • github.com/mmaitre314/picklescan/security/advisories/GHSA-7q5r-7gvp-wc82
  • github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2025-20.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-1944
  • sites.google.com/sonatype.com/vulnerabilities/cve-2025-1944

Code Behaviors & Features

Detect and mitigate CVE-2025-1944 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.23

Fixed versions

  • 0.0.23

Solution

Upgrade to version 0.0.23 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

pypi/picklescan/CVE-2025-1944.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.