Use-after-free in Firefox for Android and Mozilla Firefox - CVE-2024-4764

 

Use-after-free in Firefox for Android and Mozilla Firefox - CVE-2024-4764

Published: May 15, 2024


Vulnerability identifier: #VU89550
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-4764
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when handling newly connected audio input via multiple WebRTC threads. A remote attacker can trick the victim to open a specially crafted website and execute arbitrary code on the system.


Affected software

Firefox for Android
Mozilla Firefox
Gentoo Linux
Ubuntu
openEuler
Fedora
www-client/firefox
firefox (Ubuntu package)
firefox
firefox-debuginfo
firefox-debugsource

How to mitigate CVE-2024-4764

Install updates from vendor's website.

Firefox for Android - update to 126.0
Mozilla Firefox - update to 126.0
www-client/firefox - update to 104
firefox (Ubuntu package) - addressed in versions 126.0+build2-0ubuntu0.20.04.1, 126.0.1+build1-0ubuntu0.20.04.1
firefox - addressed in versions 126.0-5.fc38, 126.0-5.fc39, 126.0-5.fc40
firefox - update to 128.8.0-1
firefox-debuginfo - update to 128.8.0-1
firefox-debugsource - update to 128.8.0-1

External References

Related Security Bulletins