{"schemaVersion":3,"id":"CVE-2025-61622","aliases":["GHSA-538v-3wq9-4h3r","PYSEC-2026-490","PYSEC-2026-491"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-10-01T09:55:05.557Z","modified":"2025-11-04T21:14:00.912Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.43506,"percentile":0.98727,"severity":"high","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.43506},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.43506,"percentile":0.98727}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.43506,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.43506,"percentile":0.98727}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"apache software foundation","product":"apache fory","name":"Apache Fory","label":"apache fory","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.12.0, ≤ 0.12.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.1.0, ≤ 0.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.12.0, ≤ 0.12.2 | ≥ 0.1.0, ≤ 0.10.3","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_fory"},{"vendor":"apache","product":"fory","name":"fory","label":"fory","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.1.0, ≤ 0.10.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.12.0, ≤ 0.12.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.1.0, ≤ 0.10.3 | ≥ 0.12.0, ≤ 0.12.2","eol":null,"hubHref":"/vendor/apache/fory"},{"vendor":"PyPI","product":"pyfory","name":"pyfory","label":"pyfory","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyfory","purlType":"pypi","versions":[{"text":"≥ 0.12.0, < 0.12.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.12.0, < 0.12.3","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pyfury","name":"pyfury","label":"pyfury","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pyfury","purlType":"pypi","versions":[{"text":"≥ 0.1.0, ≤ 0.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.1.0, ≤ 0.10.3","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd","label":"lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Issue Tracking"]},{"url":"http://www.openwall.com/lists/oss-security/2025/09/29/3","label":"www.openwall.com/lists/oss-security/2025/09/29/3","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61622","label":"nvd.nist.gov/vuln/detail/CVE-2025-61622","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/fory/pull/2629","label":"github.com/apache/fory/pull/2629","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b","label":"github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/fory","label":"github.com/apache/fory","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/apache/fory/releases/tag/v0.12.3","label":"github.com/apache/fory/releases/tag/v0.12.3","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/pyfory","label":"pypi.org/project/pyfory","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-538v-3wq9-4h3r","label":"github.com/advisories/GHSA-538v-3wq9-4h3r","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/pyfury","label":"pypi.org/project/pyfury","hostname":"pypi.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-10-01T09:55:05.557Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T21:14:00.912Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:19:27.630Z","stale":false,"partial":false}}