CVE-2012-5840: Use After Free

Published Nov 21, 2012
·
Updated

Use-after-free vulnerability in the nsTextEditorState::PrepareEditor function in Mozilla Firefox before 17.0, Firefox ESR 10.x before 10.0.11, Thunderbird before 17.0, Thunderbird ESR 10.x before 10.0.11, and SeaMonkey before 2.14 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via unspecified vectors, a different vulnerability than CVE-2012-4214.

Affected Software

27 affected components
Mozilla Firefox<10.0.11
Mozilla Firefox<17.0
Mozilla SeaMonkey<2.14
Mozilla Thunderbird<17.0
Mozilla Thunderbird ESR<10.0.11
openSUSE openSUSE=11.4
openSUSE openSUSE=12.1
openSUSE openSUSE=12.2
SUSE Linux Enterprise Desktop=10-sp4
SUSE Linux Enterprise Desktop=11-sp2
SUSE Linux Enterprise Server=10-sp4
SUSE Linux Enterprise Server=11-sp2
SUSE Linux Enterprise Server Vmware=11-sp2
SUSE Linux Enterprise Software Development Kit=10-sp4
SUSE Linux Enterprise Software Development Kit=11-sp2
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=11.10
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
redhat Enterprise Linux Desktop=5.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Eus=6.3
redhat Enterprise Linux Server=5.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=5.0
redhat Enterprise Linux Workstation=6.0
Mozilla Firefox ESR<10.0.11

Event History

Nov 21, 2012
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-5840?

CVE-2012-5840 is classified as a critical vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2012-5840?

To fix CVE-2012-5840, you should upgrade to the latest version of Mozilla Firefox, Thunderbird, or SeaMonkey that addresses this vulnerability.

3

Which software is affected by CVE-2012-5840?

CVE-2012-5840 affects Mozilla Firefox versions prior to 17.0, Thunderbird versions before 17.0, and SeaMonkey versions before 2.14.

4

Can CVE-2012-5840 lead to data loss?

Yes, CVE-2012-5840 can lead to data loss as it allows remote attackers to execute arbitrary code.

5

Are there any workarounds for CVE-2012-5840?

There are no known workarounds for CVE-2012-5840 besides applying the relevant software updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203