CVE-2024-11393: Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability
Vulnerability summary
CVE-2024-11393 is a high (CVSS 8.8) Deserialization of Untrusted Data vulnerability in hugging face transformers. EPSS estimates a 3.27% chance of exploitation in the next 30 days, higher than 88.4% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 22-11-2024PublishedVulnerability first disclosed.
- 04-12-2024Last modifiedVulnerability information updated.
Description
Hugging Face Transformers MaskFormer Model 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 parsing of model 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-25191.
CVSS metrics
5 scores · 4 sources · 2 versions- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.27%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
Increase +0.20 pp
From 3.07% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- nemo< 1.23.0-r11
Hugging face1 product
- transformers8820fe8b8c4b9da94cf1e4761876f85c562e0efe
Huggingface1 product
- transformers< 4.48.0
PyPI1 product
- transformers< 4.48.0
4 vendors · 4 products
References
9 links- www.zerodayinitiative.com/advisories/ZDI-24-1514/X Research AdvisoryAdvisoryThird Party AdvisoryVDB Entry