CVE-2025-8028 Large branch table could lead to truncated instruction
A flaw in Firefox's WebAssembly engine allows attackers to execute arbitrary code via a crafted branch table instruction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-8028?
CVE-2025-8028 is a critical memory corruption vulnerability in Mozilla Firefox, published on 22 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
On arm64, a WASM `br_table` instruction with a lot of entries could lead to the label being too far from the instruction causing truncation and incorrect computation of the branch address. This vulnerability was fixed in Firefox 141, Firefox ESR 115.26, Firefox ESR 128.13, Firefox ESR 140.1, Thunderbird 141, Thunderbird 128.13, and Thunderbird 140.1.
Weakness: CWE-1332
Which versions are affected by CVE-2025-8028?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Thunderbird.
How do I fix CVE-2025-8028?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-8028 being exploited?
There is no known exploitation of CVE-2025-8028 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as DEBIAN-CVE-2025-8028, GHSA-2fhm-pcv6-vcx9, UBUNTU-CVE-2025-8028.