Advisory Details

May 21st, 2025

(Pwn2Own) Mozilla Firefox IonMonkey JIT Compiler Integer Overflow Remote Code Execution Vulnerability

ZDI-25-291
ZDI-CAN-27172

CVE ID CVE-2025-4919
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Mozilla
AFFECTED PRODUCTS Firefox
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Mozilla Firefox. 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 IonMonkey JIT compiler. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS Mozilla has issued an update to correct this vulnerability. More details can be found at:
https://www.mozilla.org/en-US/security/advisories/mfsa2025-36/
DISCLOSURE TIMELINE
  • 2025-05-21 - Vulnerability reported to vendor
  • 2025-05-21 - Coordinated public release of advisory
  • 2025-05-21 - Advisory Updated
CREDIT Manfred Paul (@manf@infosec.exchange)
BACK TO ADVISORIES