CVE-2017-5470
Critical · 9.8CVSS
9.8
EPSS
2.6%
Published
Jun 11, 2018
CISA due date
—
Cloudanix analysis
A flaw in older versions of Firefox and Thunderbird lets attackers who send harmful web pages or emails take over the program and potentially the whole computer.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Multiple memory safety issues in the browser engine allow out-of-bounds reads and writes that corrupt process memory and can be chained to execute attacker-supplied code.
Why it matters to the business
An attacker who tricks a user into opening malicious content can take full control of the affected application, potentially stealing data, installing malware, or using the machine for further attacks; older unpatched systems remain exposed years after disclosure.
How an attack unfolds
An attacker crafts a malicious web page or email attachment that triggers one of the memory corruption bugs during rendering or parsing; with sufficient effort the corruption is turned into arbitrary code execution inside the browser or mail client process.
How to fix it
Upgrade Firefox to version 54 or later, Firefox ESR to 52.2 or later, and Thunderbird to 52.2 or later. Where immediate updates are impossible, isolate affected systems and restrict their network access.
How to confirm the fix worked
Verify installed versions against the fixed releases listed above; re-scan systems after patching and confirm no vulnerable packages remain in package managers or application directories.
Typical attack path
- Attacker hosts or delivers malicious HTML, JavaScript, or email content
- Victim opens the content in an affected Firefox or Thunderbird version
- Engine performs unsafe memory operation leading to corruption
- Attacker payload is executed with the privileges of the browser or mail client
How to detect it
Review browser and mail-client crash logs for memory-corruption signatures around the time of suspected incidents; examine proxy or mail-server logs for access to previously unknown external domains or attachments that coincide with suspicious process behavior.
What your security team should do
- Prioritize patching of any remaining Firefox ESR or Thunderbird instances still on versions before 52.2
- Block or sandbox legacy browser and mail-client traffic until upgrades are complete
- Add the affected product versions to asset inventory queries to locate any lingering instances
The record
Memory safety bugs were reported in Firefox 53 and Firefox ESR 52.1. 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 Firefox < 54, Firefox ESR < 52.2, and Thunderbird < 52.2.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | firefox-esr | 0 | 52.2.0esr-1 |
| Debian:12 | firefox-esr | 0 | 52.2.0esr-1 |
| Debian:13 | firefox-esr | 0 | 52.2.0esr-1 |
| Debian:7 | firefox-esr | 0 | 52.2.0esr-1~deb7u1 |
| Debian:7 | icedove | 0 | 1:52.2.1-1~deb7u1 |
| Debian:8 | firefox-esr | 0 | 52.2.0esr-1~deb8u1 |
| Debian:8 | icedove | 0 | 1:52.2.1-4~deb8u1 |
| Debian:9 | firefox-esr | 0 | 52.2.0esr-1~deb9u1 |
| Debian:9 | icedove | 0 | 1:52.2.1-4~deb9u1 |
| Mageia:5 | firefox | 0 | 52.2.0-1.mga5 |
| Mageia:5 | firefox-l10n | 0 | 52.2.0-1.mga5 |
| Mageia:5 | iceape | 0 | 2.49.1-3.mga5 |
| Mageia:5 | nspr | 0 | 4.15-1.mga5 |
| Mageia:5 | thunderbird | 0 | 52.2.0-1.mga5 |
| Mageia:5 | thunderbird-l10n | 0 | 52.2.0-1.mga5 |
| Mageia:6 | iceape | 0 | 2.49.1-3.mga6 |
| Red Hat:enterprise_linux:6::client | firefox | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::client | firefox-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::client | thunderbird | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::client | thunderbird-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::computenode | firefox | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::computenode | firefox-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::server | firefox | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::server | firefox-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::server | thunderbird | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::server | thunderbird-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::workstation | firefox | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::workstation | firefox-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::workstation | thunderbird | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:6::workstation | thunderbird-debuginfo | 0 | 0:52.2.0-1.el6_9 |
| Red Hat:enterprise_linux:7::client | firefox | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::client | firefox-debuginfo | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::client | thunderbird | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::client | thunderbird-debuginfo | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::server | firefox | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::server | firefox-debuginfo | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::server | thunderbird | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::server | thunderbird-debuginfo | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::workstation | firefox | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::workstation | firefox-debuginfo | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::workstation | thunderbird | 0 | 0:52.2.0-1.el7_3 |
| Red Hat:enterprise_linux:7::workstation | thunderbird-debuginfo | 0 | 0:52.2.0-1.el7_3 |
| SUSE:Linux Enterprise Desktop 12 SP2 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Desktop 12 SP2 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | MozillaFirefox | 0 | 52.2.0esr-72.5.2 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | MozillaFirefox-branding-SLED | 0 | 52-24.3.44 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | firefox-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | firefox-libffi-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | mozilla-nss | 0 | 3.29.5-47.3.2 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | MozillaFirefox | 0 | 52.2.0esr-72.5.2 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | MozillaFirefox-branding-SLED | 0 | 52-24.3.44 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | firefox-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | firefox-libffi-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | mozilla-nss | 0 | 3.29.5-47.3.2 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | MozillaFirefox | 0 | 52.2.0esr-72.5.2 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | MozillaFirefox-branding-SLED | 0 | 52-24.3.44 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | firefox-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | firefox-libffi-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server 11 SP3-TERADATA | mozilla-nss | 0 | 3.29.5-47.3.2 |
| SUSE:Linux Enterprise Server 11 SP4 | MozillaFirefox | 0 | 52.2.0esr-72.5.2 |
| SUSE:Linux Enterprise Server 11 SP4 | MozillaFirefox-branding-SLED | 0 | 52-24.3.44 |
| SUSE:Linux Enterprise Server 11 SP4 | firefox-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server 11 SP4 | firefox-libffi-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server 11 SP4 | mozilla-nss | 0 | 3.29.5-47.3.2 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server 12 SP1-LTSS | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Server 12 SP2 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server 12 SP2 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Server 12-LTSS | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server 12-LTSS | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | MozillaFirefox | 0 | 52.2.0esr-72.5.2 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | MozillaFirefox-branding-SLED | 0 | 52-24.3.44 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | firefox-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | firefox-libffi-gcc5 | 0 | 5.3.1+r233831-7.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | mozilla-nss | 0 | 3.29.5-47.3.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | MozillaFirefox | 0 | 52.2.0esr-72.5.2 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | mozilla-nss | 0 | 3.29.5-47.3.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:OpenStack Cloud 6 | MozillaFirefox | 0 | 52.2.0esr-108.3 |
| SUSE:OpenStack Cloud 6 | MozillaFirefox-branding-SLE | 0 | 52-31.1 |
| SUSE:Package Hub 12 | MozillaThunderbird | 0 | 52.2-36.1 |
| Ubuntu:14.04:LTS | firefox | 0 | 54.0+build3-0ubuntu0.14.04.1 |
| Ubuntu:14.04:LTS | thunderbird | 0 | 1:52.2.1+build1-0ubuntu0.14.04.1 |
| Ubuntu:16.04:LTS | firefox | 0 | 54.0+build3-0ubuntu0.16.04.1 |
| Ubuntu:16.04:LTS | thunderbird | 0 | 1:52.2.1+build1-0ubuntu0.16.04.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaThunderbird | 0 | 91.1.1-1.1 |
Related vulnerabilities
- CVE-2025-0243 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 128.5, and… Also affects firefox-esr
- CVE-2025-0237 The WebChannel API, which is used to transport various information across processes, did… Also affects firefox-esr
- CVE-2025-0238 Assuming a controlled failed memory allocation, an attacker could have caused a… Also affects firefox-esr
- CVE-2025-0240 Parsing a JavaScript module as JSON could, under some circumstances, cause… Also affects firefox-esr
- CVE-2025-0239 When using Alt-Svc, ALPN did not properly validate certificates when the original server… Also affects firefox-esr
- CVE-2025-0241 When segmenting specially crafted text, segmentation would corrupt memory leading to a… Also affects firefox-esr
- CVE-2025-0242 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 115.18, Firefox… Also affects firefox-esr
- CVE-2024-11704 A double-free issue could have occurred in `sec_pkcs7_decoder_start_decrypt()` when… Also affects firefox-esr