{"id":"CVE-2025-61622","aliases":["CVE-2025-61622","GHSA-538v-3wq9-4h3r","PYSEC-2026-490","PYSEC-2026-491"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Fory, Apache Fory: Python RCE via unguarded pickle fallback serializer in pyfory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Deserialización de datos no confiables en Python en las versiones de pyfory 0.12.0 a 0.12.2, o las versiones heredadas de pyfury de 0.1.0 a 0.10.3: permite la ejecución de código arbitrario. Una aplicación es vulnerable si lee datos serializados de pyfory de fuentes no confiables. Un atacante puede crear un flujo de datos que selecciona el serializador de respaldo de pickle durante la deserialización, lo que lleva a la ejecución de 'pickle.loads', que es vulnerable a la ejecución remota de código.\n\nSe recomienda a los usuarios actualizar a la versión 0.12.3 de pyfory o posterior, que ha eliminado el serializador de respaldo de pickle y, por lo tanto, soluciona este problema.","source":"nvd"}],"published":"2025-10-01T09:55:05.557Z","modified":"2026-11-16T16:15:07.771Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0.12.0","lastAffected":"0.12.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Fory","package":"pyfory","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","lastAffected":"0.10.3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Fory","package":"pyfury","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.12.0","status":"affected","fixed":"0.12.3"}],"ecosystem":"PyPI","package":"pyfory","purl":"pkg:pypi/pyfory","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.1.0","status":"affected","lastAffected":"0.10.3"}],"ecosystem":"PyPI","package":"pyfury","purl":"pkg:pypi/pyfury","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.1.0","lastAffected":"0.10.3"},{"status":"affected","introduced":"0.12.0","lastAffected":"0.12.2"}],"vendor":"apache","product":"fory","cpe":"cpe:2.3:a:apache:fory:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.12.0","status":"affected","fixed":"0.12.3"}],"ecosystem":"PyPI","package":"pyfory","purl":"pkg:pypi/pyfory","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0.1.0","status":"affected","lastAffected":"0.10.3"}],"ecosystem":"PyPI","package":"pyfury","purl":"pkg:pypi/pyfury","source":"pysec"}],"references":[{"url":"https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd","tags":["issue-tracking","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/29/3","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61622","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/fory/pull/2629","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/fory","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/fory/releases/tag/v0.12.3","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyfory/PYSEC-2026-490.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyfury/PYSEC-2026-491.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/pyfory","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pyfury","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-538v-3wq9-4h3r","tags":["advisory"],"sources":["pysec"]}],"credits":["Mapta / BugBunny_ai"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T13:07:55.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-61622","url":"https://www.cve.org/CVERecord?id=CVE-2025-61622","licence":"CVE Terms of Use","modified":"2025-11-04T21:14:00.912Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-538v-3wq9-4h3r","url":"https://github.com/advisories/GHSA-538v-3wq9-4h3r","licence":"CC-BY-4.0","modified":"2026-11-16T16:15:07.771Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-61622","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61622","licence":"Public domain","modified":"2026-10-09T09:10:00.213Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-490","url":"https://osv.dev/vulnerability/PYSEC-2026-490","licence":"CC-BY-4.0","modified":"2026-07-01T20:23:02.648Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-491","url":"https://osv.dev/vulnerability/PYSEC-2026-491","licence":"CC-BY-4.0","modified":"2026-07-01T20:23:02.702Z"}],"updatedAt":"2026-11-25T22:59:05.398Z","epss":{"score":0.49371,"percentile":0.98912,"date":"2026-12-01T12:00:22.000Z"}}