CVE-2025-5174: pypickle unsafe deserialization vulnerability
A vulnerability was found in erdogant pypickle up to 1.1.5 and classified as problematic. Affected by this issue is the function load of the file pypickle/pypickle.py. The manipulation leads to deserialization. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue.
Published May 26, 2025 · Updated Jun 4, 2025
Affected packages
pypickle
- Ecosystem
- PyPI
- Affected
- < 2.0.0
- Fixed in
- 2.0.0
- Check
pip show pypickle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found in erdogant pypickle up to 1.1.5 and classified as problematic. Affected by this issue is the function load of the file pypickle/pypickle.py. The manipulation leads to deserialization. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The patch is identified as 14b4cae704a0bb4eb6723e238f25382d847a1917. It is recommended to upgrade the affected component.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5174
- https://github.com/erdogant/pypickle/issues/2
- https://github.com/erdogant/pypickle/issues/2#issuecomment-2889146579
- https://github.com/erdogant/pypickle/commit/14b4cae704a0bb4eb6723e238f25382d847a1917
- https://github.com/erdogant/pypickle/releases/tag/2.0.0
- https://vuldb.com/?ctiid.310262
- https://vuldb.com/?id.310262
- https://vuldb.com/?submit.579157
- https://github.com/pypa/advisory-database/tree/main/vulns/pypickle/PYSEC-2025-45.yaml
- https://github.com/advisories/GHSA-5qwj-342r-h886
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
