FirefoxWeb browser · Mozilla

CVE-2024-5694

HIGH · 7.5 CVSS v3.1 Published 2024-06-11
Fix available
A fix is available. Upgrade to 127.0 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An attacker could have caused a use-after-free in the JavaScript engine to read memory in the JavaScript string section of the heap. This vulnerability affects Firefox < 127.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Use-after-free vulnerability in Firefox's JavaScript engine allows an attacker to read heap memory in the JavaScript string section, potentially exposing sensitive data or facilitating further exploitation.

MitigationUpdate Firefox to version 127 or later to patch the use-after-free vulnerability in the JavaScript engine.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
FirefoxWeb browser
Affected:< 127.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check if Firefox is installed
    Look for Firefox in your system applications or check common installation paths (e.g., /Applications on macOS, C:\Program Files\Mozilla Firefox on Windows, or your Linux distribution's package manager)
    Affected if Firefox is not found on the system, then this CVE does not apply
  2. Identify the installed Firefox version
    Open Firefox, go to Help > About Firefox, or run 'firefox --version' from command line, or check your system's installed packages list
    Affected if The version displayed is lower than 127 (for example, 126.x, 125.x, or earlier)
  3. Confirm the JavaScript engine is in use
    This vulnerability exists in Firefox's JavaScript engine (SpiderMonkey). Any normal web browsing or JavaScript execution triggers the JS engine
    Affected if Firefox is used for web browsing with JavaScript enabled, which is the default behavior

You are affected if Firefox is installed and the version is below 127, since the use-after-free flaw in the JavaScript engine triggers during normal browser use with JavaScript enabled.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 127.0 or later
Fixed in 127.0
Interim mitigation

Update Firefox to version 127 or later to patch the use-after-free vulnerability in the JavaScript engine.

Recommended fix High confidence

Firefox 127

  1. Open Firefox and click the menu button (three horizontal lines) in the top-right corner
  2. Select 'Help' from the menu, then click 'About Firefox'
  3. The About Firefox window will open and automatically check for updates
  4. If an update is available, click 'Update to Firefox 127' or allow it to download automatically
  5. After the download completes, click 'Restart to update Firefox'
  6. Verify the update was successful by returning to Help > About Firefox and confirming version 127 is installed
Caveat Firefox minor version upgrades typically do not introduce breaking changes; however, some older extensions or add-ons may require updates for compatibility

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Firefox Scoped from the published advisory
  • Consultation1.0 h
  • Implementation2.0 h
  • Testing1.0 h
  • Review / QA1.0 h
5.0 hours of engineering $890
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,424.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-5694 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-5694 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data