CVE Vulnerabilities

CVE-2012-4182

Use After Free

Published: Oct 10, 2012 | Modified: Apr 11, 2025
CVSS 3.x
N/A
Source:
NVD
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 nsTextEditRules::WillInsert function in Mozilla Firefox before 16.0, Firefox ESR 10.x before 10.0.8, Thunderbird before 16.0, Thunderbird ESR 10.x before 10.0.8, and SeaMonkey before 2.13 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via unspecified vectors.

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*10.0.8 (excluding)
Red Hat Enterprise Linux 5RedHatfirefox-0:10.0.8-1.el5_8*
Red Hat Enterprise Linux 5RedHatxulrunner-0:10.0.8-1.el5_8*
Red Hat Enterprise Linux 5RedHatthunderbird-0:10.0.8-1.el5_8*
Red Hat Enterprise Linux 6RedHatfirefox-0:10.0.8-1.el6_3*
Red Hat Enterprise Linux 6RedHatxulrunner-0:10.0.8-1.el6_3*
Red Hat Enterprise Linux 6RedHatthunderbird-0:10.0.8-1.el6_3*
FirefoxUbuntudevel*
FirefoxUbuntuhardy*
FirefoxUbuntulucid*
FirefoxUbuntunatty*
FirefoxUbuntuoneiric*
FirefoxUbuntuprecise*
FirefoxUbuntuquantal*
FirefoxUbunturaring*
FirefoxUbuntusaucy*
FirefoxUbuntuupstream*
SeamonkeyUbuntuhardy*
SeamonkeyUbuntulucid*
SeamonkeyUbuntunatty*
SeamonkeyUbuntuoneiric*
SeamonkeyUbuntuupstream*
ThunderbirdUbuntudevel*
ThunderbirdUbuntuhardy*
ThunderbirdUbuntulucid*
ThunderbirdUbuntunatty*
ThunderbirdUbuntuoneiric*
ThunderbirdUbuntuprecise*
ThunderbirdUbuntuquantal*
ThunderbirdUbunturaring*
ThunderbirdUbuntusaucy*
ThunderbirdUbuntuupstream*
Xulrunner-1.9.2Ubuntuhardy*
Xulrunner-1.9.2Ubuntulucid*
Xulrunner-1.9.2Ubuntunatty*

Potential Mitigations

References