ZDI-26-944: (0Day) Meta fairseq load_ema_from_checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability
Summary
Zero Day Initiative (ZDI) has disclosed a zero-day (0-day) vulnerability in Meta fairseq concerning Remote Code Execution (RCE). The flaw stems from the deserialization of untrusted data within the load_ema_from_checkpoint method. Exploitation requires user interaction.
- Advisory ID: ZDI-26-944
- CVE ID: -
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- Credit: Bongeun Koo (@kiddo_pwn)
Affected Products
- Meta fairseq
Technical Details
The specific flaw exists within the load_ema_from_checkpoint method. The issue results from the lack of proper validation of user-supplied data, which can lead to the deserialization of untrusted data. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process.
User interaction is required to exploit this vulnerability, as the target must visit a malicious page or open a malicious file.
Timeline:
- 2026-03-04: ZDI reported the vulnerability to the vendor.
- 2026-03-05: Vendor acknowledged receipt of the report.
- 2026-03-17: Vendor communicated that the report was being investigated.
- 2026-04-07: Vendor communicated that the fairseq repository is no longer maintained and was archived.
- 2026-10-23: ZDI notified the vendor of intention to publish the case as a 0-day advisory.
- 2026-11-11: Coordinated public release of advisory.
Impact
Successful exploitation allows remote attackers to execute arbitrary code on affected installations of Meta fairseq within the context of the current process.
Mitigation
Given the nature of the vulnerability and the unmaintained status of the repository, the primary mitigation strategy is:
- Restrict interaction with the product.
- Avoid loading untrusted checkpoint files or visiting untrusted resources linked to the product.
References
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.