CVE-2012-1946: Mozilla Firefox

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

Use-after-free vulnerability in the nsINode::ReplaceOrInsertBefore function in Mozilla Firefox 4.x through 12.0, Firefox ESR 10.x before 10.0.5, Thunderbird 5.0 through 12.0, Thunderbird ESR 10.x before 10.0.5, and SeaMonkey before 2.10 might allow remote attackers to execute arbitrary code via document changes involving replacement or insertion of a node.

Affected products

  • Mozilla Firefox: version 4.0 only; version 4.0.1 only; version 5.0 only; version 5.0.1 only; version 6.0 only; version 6.0.1 only; …
  • Mozilla Seamonkey: up to and including 2.9; version 1.0 only; version 1.0.1 only; version 1.0.2 only; version 1.0.3 only; version 1.0.4 only; …
  • Mozilla Thunderbird: version 5.0 only; version 6.0 only; version 6.0.1 only; version 6.0.2 only; version 7.0 only; version 7.0.1 only; …
  • Mozilla Thunderbird ESR: version 10.0 only; version 10.0.1 only; version 10.0.2 only; version 10.0.3 only; version 10.0.4 only

Published 2012-06-05. Last modified 2026-06-16.