{"id":"CVE-2024-11393","title":"transformers: Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability (CVE-2024-11…","summary":"A flaw was found in the MaskFormer model of the Hugging Face Transformers library. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. This flaw allows an attac…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"vendor","cwe":"CWE-502","vendor":"Red Hat","product":"transformers","affected":["transformers < 4.48.0"],"patched":["transformers 4.48.0"],"published":"2024-11-22","updated":"2026-10-15","sourceUpdated":"2026-10-15T11:06:53+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-11393.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-11393.json"},{"url":"https://access.redhat.com/security/cve/CVE-2024-11393"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2328394"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-11393"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-11393"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1514/"},{"url":"https://github.com/huggingface/transformers/issues/34840"},{"url":"https://github.com/huggingface/transformers/pull/35296"},{"url":"https://github.com/huggingface/transformers"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2024-228.yaml"},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1514"}],"tags":["csaf","vex","red-hat","exploit-available","osv","pip"],"epss":0.03074,"epssPercentile":0.8759,"exploits":{"github":1,"githubRepos":["https://github.com/Piyush-Bhor/CVE-2024-11393"],"checkedAt":"2026-10-27T16:41:45.748Z"},"exploitAvailable":true,"zeroDay":true,"aliases":["GHSA-wrfc-pvp9-mr9g","PYSEC-2024-228"],"ecosystem":"pip","ingestedAt":"2026-09-12T03:13:01.737Z","slug":"CVE-2024-11393","body":"## Overview\n\nA flaw was found in the MaskFormer model of the Hugging Face Transformers library. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. This flaw allows an attacker to execute code in the context of the current user.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-11393.json)\n\n**transformers: Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability** — rated Important by Red Hat. Released 2024-11-22, updated 2026-10-15.\n\nNot affected:\n\n- OpenShift Lightspeed\n- Red Hat Enterprise Linux AI (RHEL AI)\n\n## Remediation\n\nRefer to the advisory for fix availability.\n\n## Package advisory (CVE-2024-11393)\n\nAffected packages:\n\n- `transformers < 4.48.0`\n\nPatched in:\n\n- `transformers 4.48.0`\n\nSource: https://osv.dev/vulnerability/GHSA-wrfc-pvp9-mr9g","depth":"abyssal","depthScore":74,"depthScoreParts":{"impact":48.4,"likelihood":0.6,"exploitation":25,"ransomware":0},"changes":[]}