CVE Vulnerabilities

CVE-2014-1531

Use After Free

Published: Apr 30, 2014 | Modified: Nov 25, 2025
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
6.8 CRITICAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Use-after-free vulnerability in the nsGenericHTMLElement::GetWidthHeightForImage function in Mozilla Firefox before 29.0, Firefox ESR 24.x before 24.5, Thunderbird before 24.5, and SeaMonkey before 2.26 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via vectors involving an imgLoader object that is not properly handled during an image-resize operation.

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*29.0 (excluding)
FirefoxMozilla24.0 (including)24.5 (excluding)
SeamonkeyMozilla*2.26 (excluding)
ThunderbirdMozilla*24.5 (excluding)
Red Hat Enterprise Linux 5RedHatfirefox-0:24.5.0-1.el5_10*
Red Hat Enterprise Linux 5RedHatthunderbird-0:24.5.0-1.el5_10*
Red Hat Enterprise Linux 6RedHatfirefox-0:24.5.0-1.el6_5*
Red Hat Enterprise Linux 6RedHatthunderbird-0:24.5.0-1.el6_5*
FirefoxUbuntulucid*
FirefoxUbuntuprecise*
FirefoxUbuntuquantal*
FirefoxUbuntusaucy*
FirefoxUbuntutrusty*
FirefoxUbuntuupstream*
ThunderbirdUbuntulucid*
ThunderbirdUbuntuprecise*
ThunderbirdUbuntuquantal*
ThunderbirdUbuntusaucy*
ThunderbirdUbuntutrusty*
ThunderbirdUbuntuupstream*

Potential Mitigations

References