CVE-2012-3958 in Mozilla Firefox and 3 more products
Use-after-free vulnerability in the nsHTMLEditRules::DeleteNonTableElements function in Mozilla Firefox before 15.0, Firefox ESR 10.x before 10.0.7, Thunderbird before 15.0, Thunderbird ESR 10.x before 10.0.7, and SeaMonkey before 2.12 allows remote attackers to execute arbitrary code or cause a denial of service (h...
Affects 4 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mozilla | Firefox | 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5+129 more1.0.6 1.0.7 1.0.8 1.4.1 1.5 1.5.0.1 1.5.0.2 1.5.0.3 1.5.0.4 1.5.0.5 1.5.0.6 1.5.0.7 1.5.0.8 1.5.0.9 1.5.0.10 1.5.0.11 1.5.0.12 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.8 2.0 2.0.0.1 2.0.0.2 2.0.0.3 2.0.0.4 2.0.0.5 2.0.0.6 2.0.0.7 2.0.0.8 2.0.0.9 2.0.0.10 2.0.0.11 2.0.0.12 2.0.0.13 2.0.0.14 2.0.0.15 2.0.0.16 2.0.0.17 2.0.0.18 2.0.0.19 2.0.0.20 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.5.10 3.5.11 3.5.12 3.5.13 3.5.14 3.5.15 3.6 3.6.2 3.6.3 3.6.4 3.6.6 3.6.7 3.6.8 3.6.9 3.6.10 3.6.11 3.6.12 3.6.13 3.6.14 3.6.15 3.6.16 3.6.17 3.6.18 3.6.19 3.6.20 3.6.21 3.6.22 3.6.23 3.6.24 3.6.25 4.0 4.0.1 5.0 5.0.1 6.0 6.0.1 6.0.2 7.0 7.0.1 8.0 8.0.1 9.0 9.0.1 10.0 10.0.1 10.0.2 10.0.3 10.0.4 10.0.5 10.0.6 11.0 12.0 13.0 ≤ 14.0 |
| Mozilla | Thunderbird | 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5+94 more1.0.6 1.0.7 1.0.8 1.5 1.5.0.1 1.5.0.2 1.5.0.3 1.5.0.4 1.5.0.5 1.5.0.6 1.5.0.7 1.5.0.8 1.5.0.9 1.5.0.10 1.5.0.11 1.5.0.12 1.5.0.13 1.5.0.14 1.5.1 1.5.2 1.7.1 1.7.3 2.0 2.0.0.0 2.0.0.1 2.0.0.2 2.0.0.3 2.0.0.4 2.0.0.5 2.0.0.6 2.0.0.7 2.0.0.8 2.0.0.9 2.0.0.11 2.0.0.12 2.0.0.13 2.0.0.14 2.0.0.15 2.0.0.16 2.0.0.17 2.0.0.18 2.0.0.19 2.0.0.20 2.0.0.21 2.0.0.22 2.0.0.23 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.0.10 3.0.11 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 5.0 6.0 6.0.1 6.0.2 7.0 7.0.1 8.0 9.0 9.0.1 10.0 10.0.1 10.0.2 10.0.3 10.0.4 11.0 12.0 13.0 ≤ 14.0 |
| Mozilla | Seamonkey | 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5+27 more2.0.6 2.0.7 2.0.8 2.0.9 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.4 2.4.1 2.5 2.6 2.6.1 2.7 2.7.1 2.7.2 2.8 2.9 2.10 ≤ 2.11 |
| Mozilla | Thunderbird Esr | 10.0 10.0.1 10.0.2 10.0.3 10.0.4 10.0.5+1 more10.0.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Use-after-free vulnerability in the nsHTMLEditRules::DeleteNonTableElements function in Mozilla Firefox before 15.0, Firefox ESR 10.x before 10.0.7, Thunderbird before 15.0, Thunderbird ESR 10.x before 10.0.7, and SeaMonkey before 2.12 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via unspecified vectors.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-3958 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-091918-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2012-08-29 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-399: Resource Management Errors
Broad class covering failures in managing system resources such as memory, file handles, and connections.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A critical vulnerability affects Mozilla systems (CVE-2012-3958). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Use-after-free vulnerability in the nsHTMLEditRules::DeleteNonTableElements function in Mozilla Firefox before 15.0, Firefox ESR 10.x before 10.0.7, Thunderbird before 15.0, Thunderbird ESR 10.x before 10.0.7, and SeaMonkey before 2.12 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via unspecified vectors. CVSS vector: AV:N/AC:L/Au:N/C:C/I:C/A:C.
Questions
What is CVE-2012-3958?
This vulnerability was disclosed in 2012. A critical vulnerability affects Mozilla systems (CVE-2012-3958). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-3958?
CVE-2012-3958 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 5.2%.
Is CVE-2012-3958 actively exploited?
No confirmed active exploitation of CVE-2012-3958 as of 2026-09-25.
How do I remediate CVE-2012-3958?
Priority: MEDIUM. Advisory: http://www.mozilla.org/security/announce/2012/mfsa2012-58.html PSIRT: [email protected]
What systems are affected by CVE-2012-3958?
CVE-2012-3958 affects Mozilla Firefox, Thunderbird, Seamonkey, Thunderbird Esr.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mozilla","product":"Firefox","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.