CVE-2024-11392 json
Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability
published 2024-11-22 23 mo ago modified 2026-09-10 1 mo ago also GHSA-qxrp-vhvm-j765 , PYSEC-2024-227 , EUVD-2024-33791
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.7%
- EPSS 7.7% chance of exploitation in 30 days, percentile 94%
- public exploits
- 1
- Exploit-DB
Summary
Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the handling of configuration files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-24322.
Patch / fix
- pypi transformers 4.48.0
- huggingface transformers 4.48.0
- github.com/huggingface/transformers#35296 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-11392 updated cvss 7.5
transformers: Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability
-
Red Hat OpenShift Lightspeed lightspeed-service-api-rhel9 Red Hat Enterprise Linux AI (RHEL AI) bootc-amd-rhel9, bootc-nvidia-rhel9, instructlab-amd-rhel9, bootc-azure-nvidia-rhel9, instructlab-nvidia-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-52227)
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
7.72% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-52227 Hugging Face Transformers MobileViTV2 4.41.1 - Remote Code Execution (RCE) remote, 2025-04-16
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | transformers | <4.48.0 |
4.48.0 |
Affected products
- Hugging Face Transformers
- huggingface transformers
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/huggingface/transformers/pull/35296
web
-
zerodayinitiative.com
/advisories/ZDI-24-1513/
third-party-advisory, vdb-entry, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-11392
advisory
-
github.com
/huggingface/transformers/issues/34840
web
-
github.com
/huggingface/transformers
package
-
github.com
/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2024-227.yaml
web
-
zerodayinitiative.com
/advisories/ZDI-24-1513
web
-
github.com
/advisories/GHSA-qxrp-vhvm-j765
advisory
Sources
- CVE List CVE-2024-11392
- GitHub Advisory GHSA-qxrp-vhvm-j765
- NVD CVE-2024-11392
- OSV PYSEC-2024-227
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.