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

May 21st, 2025

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