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

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

Name Vendor Start Version End Version
Firefox Mozilla * 47.0.1 (including)
Firefox Mozilla 45.1.0 (including) 45.1.0 (including)
Firefox Mozilla 45.1.1 (including) 45.1.1 (including)
Firefox Mozilla 45.2.0 (including) 45.2.0 (including)
Firefox Mozilla 45.3.0 (including) 45.3.0 (including)
Red Hat Enterprise Linux 5 RedHat firefox-0:45.3.0-1.el5_11 *
Red Hat Enterprise Linux 6 RedHat firefox-0:45.3.0-1.el6_8 *
Red Hat Enterprise Linux 7 RedHat firefox-0:45.3.0-1.el7_2 *
Firefox Ubuntu precise *
Firefox Ubuntu trusty *
Firefox Ubuntu upstream *
Firefox Ubuntu xenial *

Potential Mitigations

References