CVE Vulnerabilities

CVE-2017-5402

Use After Free

Published: Jun 11, 2018 | Modified: Nov 25, 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
6.8 CRITICAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
9.8 CRITICAL
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

A use-after-free can occur when events are fired for a FontFace object after the object has been already been destroyed while working with fonts. This results in a potentially exploitable crash. This vulnerability affects Firefox < 52, Firefox ESR < 45.8, Thunderbird < 52, and Thunderbird < 45.8.

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
Debian_linuxDebian9.0 (including)9.0 (including)
Red Hat Enterprise Linux 5RedHatfirefox-0:45.8.0-2.el5_11*
Red Hat Enterprise Linux 5RedHatthunderbird-0:45.8.0-1.el5_11*
Red Hat Enterprise Linux 6RedHatfirefox-0:45.8.0-2.el6_8*
Red Hat Enterprise Linux 6RedHatthunderbird-0:45.8.0-1.el6_8*
Red Hat Enterprise Linux 7RedHatfirefox-0:52.0-4.el7_3*
Red Hat Enterprise Linux 7RedHatthunderbird-0:45.8.0-1.el7_3*
FirefoxUbuntuprecise*
FirefoxUbuntutrusty*
FirefoxUbuntuupstream*
FirefoxUbuntuxenial*
FirefoxUbuntuyakkety*
FirefoxUbuntuzesty*
ThunderbirdUbuntudevel*
ThunderbirdUbuntuprecise*
ThunderbirdUbuntutrusty*
ThunderbirdUbuntuupstream*
ThunderbirdUbuntuxenial*
ThunderbirdUbuntuyakkety*
ThunderbirdUbuntuzesty*

Potential Mitigations

References