CVE-2008-0420: Mozilla Firefox

High severity, CVSS 9.3. EPSS: 2.2% chance of exploitation in the next 30 days.

modules/libpr0n/decoders/bmp/nsBMPDecoder.cpp in Mozilla Firefox before 2.0.0.12, Thunderbird before 2.0.0.12, and SeaMonkey before 1.1.8 does not properly perform certain calculations related to the mColors table, which allows remote attackers to read portions of memory uninitialized via a crafted 8-bit bitmap (BMP) file that triggers an out-of-bounds read within the heap, as demonstrated using a CANVAS element; or cause a denial of service (application crash) via a crafted 8-bit bitmap file that triggers an out-of-bounds read. NOTE: the initial public reports stated that this affected Firefox in Ubuntu 6.06 through 7.10.

Affected products

  • Mozilla Firefox: up to and including 2.0.0.11; version 0.1 only; version 0.2 only; version 0.3 only; version 0.4 only; version 0.5 only; …
  • Mozilla Seamonkey: up to and including 1.1.7; version 1.0 only; version 1.0.1 only; version 1.0.2 only; version 1.0.3 only; version 1.0.5 only; …
  • Mozilla Thunderbird: up to and including 2.0.0.11; version 0.1 only; version 0.5 only; version 0.6 only; version 0.7 only; version 0.8 only; …

Published 2008-02-12. Last modified 2026-06-16.