CWE
416
Advisory Published
Updated

CVE-2012-5840: Use After Free

First published: Wed 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Firefox<10.0.11
Firefox<17.0
Mozilla SeaMonkey<2.14
Thunderbird<17.0
Mozilla Thunderbird<10.0.11
SUSE Linux=11.4
SUSE Linux=12.1
SUSE Linux=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=11-sp2
SUSE Linux Enterprise Software Development Kit=10-sp4
SUSE Linux Enterprise Software Development Kit=11-sp2
Ubuntu=10.04
Ubuntu=11.10
Ubuntu=12.04
Ubuntu=12.10
Red Hat Enterprise Linux Desktop=5.0
Red Hat Enterprise Linux Desktop=6.0
Red Hat Enterprise Linux Server EUS=6.3
Red Hat Enterprise Linux Server=5.0
Red Hat Enterprise Linux Server=6.0
Red Hat Enterprise Linux Workstation=5.0
Red Hat Enterprise Linux Workstation=6.0
Firefox ESR<10.0.11

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203