{"id":"GHSA-538v-3wq9-4h3r","summary":"Apache Pyfory python is vulnerable to deserialization of untrusted data","details":"Deserialization of untrusted data in python in pyfory versions 0.12.0 through 0.12.2, or the legacy pyfury versions from 0.1.0 through 0.10.3: allows arbitrary code execution. An application is vulnerable if it reads pyfory serialized data from untrusted sources. An attacker can craft a data stream that selects pickle-fallback serializer during deserialization, leading to the execution of `pickle.loads`, which is vulnerable to remote code execution.\n\nUsers are recommended to upgrade to pyfory version 0.12.3 or later, which has removed pickle fallback serializer and thus fixes this issue.","aliases":["CVE-2025-61622","PYSEC-2026-490","PYSEC-2026-491"],"modified":"2026-06-29T12:26:52.243778954Z","published":"2025-10-01T12:30:27Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-10-01T19:38:16Z","nvd_published_at":"2025-10-01T10:15:34Z","cwe_ids":["CWE-502"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61622"},{"type":"WEB","url":"https://github.com/apache/fory/pull/2629"},{"type":"WEB","url":"https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b"},{"type":"PACKAGE","url":"https://github.com/apache/fory"},{"type":"WEB","url":"https://github.com/apache/fory/releases/tag/v0.12.3"},{"type":"WEB","url":"https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2025/09/29/3"}],"affected":[{"package":{"name":"pyfory","ecosystem":"PyPI","purl":"pkg:pypi/pyfory"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.0"},{"fixed":"0.12.3"}]}],"versions":["0.12.0","0.12.1","0.12.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-538v-3wq9-4h3r/GHSA-538v-3wq9-4h3r.json"}},{"package":{"name":"pyfury","ecosystem":"PyPI","purl":"pkg:pypi/pyfury"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"last_affected":"0.10.3"}]}],"versions":["0.10.2","0.10.2rc1","0.10.3","0.2.0","0.2.0a1","0.2.1","0.2.1a1","0.3.0","0.3.0a1","0.3.0a2","0.3.0a3","0.3.1","0.4.0","0.4.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-538v-3wq9-4h3r/GHSA-538v-3wq9-4h3r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}