Out-of-bounds read/write in Firefox JavaScript engine array index size handling
CVE-2025-4919 is a critical memory corruption vulnerability in Mozilla Firefox's JavaScript engine, reported as allowing an attacker to perform out-of-bounds read or write operations on a JavaScript object by confusing array index sizes. Supporting content indicates the issue is in the IonMonkey JIT compiler, specifically in bounds-check elimination logic involving MathSpace/ExtractLinearSum and TryEliminateBoundsCheck in jit/IonAnalysis.cpp, where confusion between integer values and 32-bit wrapped values can cause incorrect elimination of bounds checks. An attacker can trigger the flaw with crafted JavaScript, including use of very large typed arrays, to obtain out-of-bounds access to adjacent memory. Affected products are Firefox before 138.0.4, Firefox ESR before 128.10.1 and 115.23.1, and Thunderbird before 128.10.2 and 138.0.2.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can give an attacker out-of-bounds memory read and write primitives within the browser process. This can expose sensitive data from process memory, corrupt JavaScript engine objects, and be developed into arbitrary memory access primitives that may enable arbitrary code execution and full browser compromise. Public reporting around the Pwn2Own demonstration states the exploit did not achieve a sandbox escape during the contest, so the demonstrated impact is browser-process compromise rather than a full system escape.
If you can’t patch tonight, do this now.
The primary mitigation is prompt patching to a fixed release. Until updates can be applied, reduce exposure by avoiding untrusted or attacker-controlled websites and disabling JavaScript where operationally feasible, recognizing that this may significantly impair browser functionality. No content indicates a complete workaround short of updating.
Patch, then assume compromise.
Upgrade affected Mozilla products to fixed versions: Firefox 138.0.4 or later, Firefox ESR 128.10.1 or later, Firefox ESR 115.23.1 or later, Thunderbird 128.10.2 or later, and Thunderbird 138.0.2 or later. Mozilla addressed the issue in its emergency security updates and corresponding security advisory.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.