CVE-2018-5178: Buffer Overflow

Published May 9, 2018
·
Updated

A buffer overflow was found during UTF8 to Unicode string conversion within JavaScript with extremely large amounts of data. This vulnerability requires the use of a malicious or vulnerable legacy extension in order to occur.

Affected Software

25 affected componentsFixes available
Mozilla Thunderbird<52.8
52.8
Mozilla Firefox ESR<52.8
52.8
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Mozilla Firefox ESR<52.8.0
Mozilla Thunderbird<52.8.0
Mozilla Thunderbird ESR<52.8.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Mozilla Firefox<52.8.0
debian/firefox-esr
115.14.0esr-1~deb11u1140.7.0esr-1~deb11u1128.14.0esr-1~deb12u1140.8.0esr-1~deb12u1140.4.0esr-1~deb13u1140.8.0esr-1~deb13u1140.7.0esr-1140.8.0esr-1
debian/thunderbird
1:115.12.0-1~deb11u11:140.8.0esr-1~deb11u11:140.6.0esr-1~deb12u11:140.8.0esr-1~deb12u11:140.6.0esr-1~deb13u11:140.8.0esr-1~deb13u11:140.7.1esr-11:140.8.0esr-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 52.8
  2. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 52.8
  3. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.14.0esr-1~deb11u1Fixed in 140.7.0esr-1~deb11u1Fixed in 128.14.0esr-1~deb12u1Fixed in 140.8.0esr-1~deb12u1Fixed in 140.4.0esr-1~deb13u1Fixed in 140.8.0esr-1~deb13u1Fixed in 140.7.0esr-1Fixed in 140.8.0esr-1
  4. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:115.12.0-1~deb11u1Fixed in 1:140.8.0esr-1~deb11u1Fixed in 1:140.6.0esr-1~deb12u1Fixed in 1:140.8.0esr-1~deb12u1Fixed in 1:140.6.0esr-1~deb13u1Fixed in 1:140.8.0esr-1~deb13u1Fixed in 1:140.7.1esr-1Fixed in 1:140.8.0esr-1
  5. Upgrade

    Upgrade Thunderbird ESR to a version that resolves this vulnerability.

    Fixed in 52.8

Event History

May 9, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
May 10, 2018
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
May 18, 2018
Updated
12:00 AM
Affected Software
Jun 11, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Mar 11, 2019
Data Sourced
03:20 PM
Weakness
Data Sourced
via NVD·03:20 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:20 PM
Affected Software
Feb 26, 2021
Data Sourced
via Red Hat·02:54 AM
DescriptionSeverityAffected Software
Nov 25, 2025
Updated
via NVD·05:50 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-5178?

The severity of CVE-2018-5178 is 8.1 (high).

2

Which software versions are affected by CVE-2018-5178?

CVE-2018-5178 affects Thunderbird ESR < 52.8, Thunderbird < 52.8, Mozilla Firefox ESR < 52.8, Mozilla Thunderbird < 52.8, and Debian Debian Linux (versions 7.0, 8.0, and 9.0).

3

How can I fix CVE-2018-5178?

To fix CVE-2018-5178, update your software to Thunderbird ESR 52.8 or later, Thunderbird 52.8 or later, Mozilla Firefox ESR 52.8 or later, or Mozilla Thunderbird 52.8 or later.

4

Are there any references for CVE-2018-5178?

Yes, you can find references for CVE-2018-5178 at the following links: https://bugzilla.mozilla.org/show_bug.cgi?id=1443891, https://www.mozilla.org/en-US/security/advisories/mfsa2018-12/, http://www.securityfocus.com/bid/104138.

5

What is the Common Weakness Enumeration (CWE) for CVE-2018-5178?

The Common Weakness Enumeration (CWE) for CVE-2018-5178 is 119.

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