CVE-2012-0478 Memory corruption in n/a
Remote attackers can execute arbitrary code via a crafted web page due to improper restriction of JSVAL_TO_OBJECT casts in the WebGL subsystem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-0478?
CVE-2012-0478 is a critical memory corruption vulnerability in Mozilla Firefox, published on 25 Apr 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The texImage2D implementation in the WebGL subsystem in Mozilla Firefox 4.x through 11.0, Firefox ESR 10.x before 10.0.4, Thunderbird 5.0 through 11.0, Thunderbird ESR 10.x before 10.0.4, and SeaMonkey before 2.9 does not properly restrict JSVAL_TO_OBJECT casts, which might allow remote attackers to execute arbitrary code via a crafted web page.
Weakness: CWE-264
Which versions are affected by CVE-2012-0478?
It affects 4 products.
Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr.
How do I fix CVE-2012-0478?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-0478 being exploited?
There is no known exploitation of CVE-2012-0478 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-j6wg-r6cx-hpqm.