CVE-2018-5125: Buffer Overflow

Published Mar 13, 2018
·
Updated

Last updated 25 August 2025

Other sources

Memory safety bugs were reported in Firefox 58 and Firefox ESR 52.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code. This vulnerability affects Thunderbird < 52.7, Firefox ESR < 52.7, and Firefox < 59.

Launchpad

Mozilla developers and community members Bob Clary, Olli Pettay, Christian Holler, Nils Ohlmeier, Randell Jesup, Tyson Smith, Ralph Giles, and Philipp reported memory safety bugs present in Firefox 58 and Firefox ESR 52.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code.

Mozilla

Mozilla developers and community members Bob Clary, Olli Pettay, Christian Holler, Nils Ohlmeier, Randell Jesup, Tyson Smith, Ralph Giles, and Philipp reported memory safety bugs present in Firefox 58, Firefox ESR 52.6, and Thunderbird 52.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code.

Mozilla developers and community members reported memory safety bugs present in Firefox 58 and Firefox ESR 52.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code.

External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2018-07/#CVE-2018-5125

Red Hat

Affected Software

22 affected componentsFixes available
Mozilla Thunderbird<52.7
52.7
Mozilla Firefox<59
59
Mozilla Firefox ESR<52.7
52.7
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 Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Mozilla Firefox<59.0
Mozilla Firefox ESR<52.7.0
Mozilla Thunderbird<52.7.0
Mozilla Firefox<52.7.0
debian/firefox
147.0.4-1
debian/firefox-esr
115.14.0esr-1~deb11u1140.7.0esr-1~deb11u1128.14.0esr-1~deb12u1140.7.0esr-1~deb12u1140.4.0esr-1~deb13u1140.7.0esr-1~deb13u1140.7.0esr-1
debian/thunderbird
1:115.12.0-1~deb11u11:140.7.1esr-1~deb11u11:140.6.0esr-1~deb12u11:140.7.1esr-1~deb12u11:140.6.0esr-1~deb13u11:140.7.1esr-1~deb13u11:140.7.1esr-1

Event History

Mar 13, 2018
CVE Published
via Mozilla·12:00 AM
Mar 14, 2018
Data Sourced
via Red Hat·02:03 AM
DescriptionSeverityAffected Software
Jun 11, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Data Sourced
via NVD·09:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:05 PM
Description
Nov 25, 2025
Data Sourced
via Ubuntu·06:14 PM
RemedyDescriptionSeverityAffected Software
Feb 20, 2026
Data Sourced
via Debian·12:47 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-5125?

CVE-2018-5125 has been rated as potentially critical due to evidence of memory corruption allowing arbitrary code execution.

2

How do I fix CVE-2018-5125?

To fix CVE-2018-5125, update your software to Thunderbird version 52.7 or later, Firefox ESR version 52.7 or later, or Firefox version 59 or later.

3

Which versions are affected by CVE-2018-5125?

CVE-2018-5125 affects Thunderbird versions prior to 52.7 and Firefox ESR versions prior to 52.7, among others.

4

Is CVE-2018-5125 exploitable?

Yes, CVE-2018-5125 is presumed to be exploitable with sufficient effort due to memory safety bugs.

5

What types of platforms are impacted by CVE-2018-5125?

CVE-2018-5125 impacts various platforms including Debian, Ubuntu, and Red Hat Enterprise Linux versions that run the affected software.

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