Skip to main content
Public proof of conceptFix available

CVE-2017-5404

A public proof of concept exists; no exploitation attested.

  • Published2018-06-11
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

A use-after-free error can occur when manipulating ranges in selections with one node inside a native anonymous tree and one node outside of it. This results in a potentially exploitable crash. This vulnerability affects Firefox < 52, Firefox ESR < 45.8, Thunderbird < 52, and Thunderbird < 45.8.

Timeline

dates in UTC
  1. 2017-03-20Exploit-DB entryExploit-DB

Observed activity

isMalicious corpus · updated 2026-11-04 09:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2017-5404?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2017-5404?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Redhat enterprise linux
BranchAffectedFixed in
5.0= 5.0no fix published
6.0= 6.0no fix published
7.0= 7.0no fix published
Redhat enterprise linux desktop
BranchAffectedFixed in
5.0= 5.0no fix published
6.0= 6.0no fix published
7.0= 7.0no fix published
Redhat enterprise linux server
BranchAffectedFixed in
5.0= 5.0no fix published
6.0= 6.0no fix published
7.0= 7.0no fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • firefoxUbuntu:16.04:LTSall versions · fixed in 52.0+build2-0ubuntu0.16.04.1
  • firefoxUbuntu:14.04:LTSall versions · fixed in 52.0+build2-0ubuntu0.14.04.1
  • firefoxRed Hat:enterprise_linux:7::workstationall versions · fixed in 0:52.0-4.el7_3and 1 other package
  • firefoxRed Hat:enterprise_linux:7::serverall versions · fixed in 0:52.0-4.el7_3and 1 other package
  • firefoxRed Hat:enterprise_linux:7::clientall versions · fixed in 0:52.0-4.el7_3and 1 other package
  • firefoxRed Hat:enterprise_linux:6::workstationall versions · fixed in 0:45.8.0-2.el6_8and 1 other package
  • firefoxRed Hat:enterprise_linux:6::serverall versions · fixed in 0:45.8.0-2.el6_8and 1 other package
  • firefoxRed Hat:enterprise_linux:6::computenodeall versions · fixed in 0:45.8.0-2.el6_8and 1 other package

51 more package ranges on OSV.dev

Vendor advisories

  • CVE-2017-5404 Red Hat Product Security273 products fixed

    Mozilla: Use-after-free working with ranges in selections (MFSA 2017-06)

  • RHSA-2017:0498 Red Hat Product Security42 products fixed

    Red Hat Security Advisory: thunderbird security update

  • RHSA-2017:0459 Red Hat Product Security50 products fixed

    Red Hat Security Advisory: firefox security update

  • RHSA-2017:0461 Red Hat Product Security27 products fixed

    Red Hat Security Advisory: firefox security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2017:0498 · 42 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 All running instances of Thunderbird must be restarted for the update to take effect.
  2. Vendor fix Red Hat Product Security RHSA-2017:0459 · 50 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the update, Firefox must be restarted for the changes to take effect.

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-41660
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.09.8read 2026-10-23
  • NVDCVSS 2.07.5read 2026-10-23
  • NVDweakness (CWE)CWE-416read 2026-10-23
  • FIRST EPSSEPSS score16.9 %read 2026-11-03
  • Exploit-DBdetectionread 2026-11-03
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2018-06-11
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2017-5404?

A use-after-free error can occur when manipulating ranges in selections with one node inside a native anonymous tree and one node outside of it. This results in a potentially exploitable crash. This vulnerability affects Firefox < 52, Firefox ESR < 45.8, Thunderbird < 52, and Thunderbird < 45.8.

Is CVE-2017-5404 actively exploited?

Active exploitation of CVE-2017-5404 has not been confirmed. Its EPSS score was 16.9% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2017-5404?

CVE-2017-5404 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Mozilla? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record