CVE Vulnerabilities

CVE-2016-5254

Use After Free

Published: Aug 05, 2016 | Modified: Apr 12, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
5.1 LOW
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
9.8 LOW
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Use-after-free vulnerability in the nsXULPopupManager::KeyDown function in Mozilla Firefox before 48.0 and Firefox ESR 45.x before 45.3 allows attackers to execute arbitrary code or cause a denial of service (heap memory corruption and application crash) by leveraging keyboard access to use the Alt key during selection of top-level menu items.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
FirefoxMozilla*47.0.1 (including)
FirefoxMozilla45.1.0 (including)45.1.0 (including)
FirefoxMozilla45.1.1 (including)45.1.1 (including)
FirefoxMozilla45.2.0 (including)45.2.0 (including)
FirefoxMozilla45.3.0 (including)45.3.0 (including)
Red Hat Enterprise Linux 5RedHatfirefox-0:45.3.0-1.el5_11*
Red Hat Enterprise Linux 6RedHatfirefox-0:45.3.0-1.el6_8*
Red Hat Enterprise Linux 7RedHatfirefox-0:45.3.0-1.el7_2*
FirefoxUbuntuprecise*
FirefoxUbuntutrusty*
FirefoxUbuntuupstream*
FirefoxUbuntuxenial*

Potential Mitigations

References