The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-5695

CVE-2024-5695: Mozilla Firefox Buffer Overflow Vulnerability

CVE-2024-5695 is a buffer overflow flaw in Mozilla Firefox that can trigger memory corruption under specific out-of-memory conditions. This article covers technical details, affected versions, impact, and mitigation.

Published: April 8, 2026

CVE-2024-5695 Overview

CVE-2024-5695 is a memory corruption vulnerability affecting Mozilla Firefox's probabilistic heap checker component. When an out-of-memory (OOM) condition occurs at a specific point during heap allocations, the vulnerability can trigger an assertion failure. In rarer circumstances, this condition may lead to memory corruption, potentially enabling remote code execution or denial of service attacks against affected browsers.

Critical Impact

This vulnerability could allow attackers to cause memory corruption in Firefox browsers, potentially leading to arbitrary code execution or browser crashes when users visit malicious web pages.

Affected Products

  • Mozilla Firefox versions prior to 127
  • All platforms running vulnerable Firefox versions (Windows, macOS, Linux)

Discovery Timeline

  • 2024-06-11 - CVE-2024-5695 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-5695

Vulnerability Analysis

This vulnerability resides in Firefox's probabilistic heap checker, a memory debugging and validation component used during runtime. The flaw occurs when memory allocation operations fail due to an out-of-memory condition at a specific critical point in the heap checker's operation.

Under normal circumstances, an OOM condition would trigger a controlled assertion failure, causing the application to terminate gracefully. However, due to improper handling of this edge case, the vulnerability creates a race condition where memory state becomes inconsistent before the assertion can properly halt execution. In rare but exploitable scenarios, this inconsistency leads to memory corruption.

The vulnerability is classified as CWE-787 (Out-of-bounds Write), indicating that the memory corruption manifests as writes to memory locations outside intended boundaries when the OOM condition is triggered.

Root Cause

The root cause stems from inadequate error handling in the probabilistic heap checker when processing memory allocation failures. The heap checker fails to properly validate memory state before proceeding with operations that assume successful allocation. When an allocation fails at the precise moment during a heap validation check, the component continues execution with invalid memory references, corrupting adjacent heap structures.

Attack Vector

An attacker can exploit this vulnerability through network-based attacks by crafting malicious web content designed to exhaust browser memory resources at strategic moments. The attack scenario involves:

  1. Luring a victim to a malicious website
  2. Triggering excessive memory allocations through JavaScript or resource-heavy content
  3. Timing the OOM condition to coincide with heap checker operations
  4. Exploiting the resulting memory corruption for code execution or denial of service

The vulnerability is exploitable remotely without requiring authentication or user interaction beyond visiting a malicious page. Due to the timing requirements, successful exploitation may require multiple attempts, but the network accessibility and lack of required privileges make this a significant risk.

The vulnerability mechanism involves improper handling of memory allocation failures within the heap checker component. When the probabilistic heap checker performs memory validation, it makes allocation requests that can fail under memory pressure. The failure path does not properly account for partially initialized state, leading to the assertion trigger or memory corruption. For complete technical details, refer to the Mozilla Bug Report #1895579.

Detection Methods for CVE-2024-5695

Indicators of Compromise

  • Unexpected Firefox browser crashes with heap-related error messages in crash reports
  • Abnormal memory consumption patterns in Firefox processes before application failure
  • Crash dump files indicating heap corruption or assertion failures in memory allocation routines
  • System logs showing Firefox termination due to memory violations

Detection Strategies

  • Monitor Firefox crash telemetry for heap checker-related assertion failures
  • Implement endpoint detection rules to identify abnormal memory allocation patterns in browser processes
  • Deploy network inspection to detect known patterns of memory exhaustion attacks targeting browsers
  • Utilize behavioral analysis to identify web pages attempting rapid memory allocation sequences

Monitoring Recommendations

  • Enable Firefox crash reporting and analyze crash signatures for CVE-2024-5695 patterns
  • Monitor memory usage metrics for Firefox processes to detect potential exploitation attempts
  • Track outbound crash report submissions to Mozilla for correlating vulnerability exploitation
  • Implement application-layer logging to capture browser stability issues across the organization

How to Mitigate CVE-2024-5695

Immediate Actions Required

  • Update Mozilla Firefox to version 127 or later immediately across all systems
  • Enable automatic browser updates to ensure timely deployment of security patches
  • Consider temporary restriction of untrusted web browsing until patches are deployed
  • Review crash logs for any indication of prior exploitation attempts

Patch Information

Mozilla has addressed this vulnerability in Firefox version 127. The fix properly handles out-of-memory conditions in the probabilistic heap checker to prevent both assertion failures and memory corruption scenarios.

For complete patch details, see the Mozilla Security Advisory MFSA-2024-25.

Organizations should prioritize deployment of Firefox 127+ to eliminate exposure to this vulnerability. Enterprise environments using Firefox ESR should verify their version includes the necessary fixes.

Workarounds

  • Limit browsing to trusted websites until Firefox can be updated to a patched version
  • Consider using alternative browsers temporarily for high-risk browsing activities
  • Implement browser isolation technologies to contain potential exploitation
  • Configure content security policies to restrict memory-intensive operations on untrusted sites
bash
# Verify Firefox version on Linux/macOS
firefox --version

# For enterprise deployment, ensure minimum version 127
# Update Firefox via package manager (example for Ubuntu/Debian)
sudo apt update && sudo apt install firefox

# For Windows, check version via command line
"C:\Program Files\Mozilla Firefox\firefox.exe" --version | more

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechMozilla Firefox

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.67%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Mozilla Bug Report #1895579
  • Vendor Resources
  • Mozilla Security Advisory MFSA-2024-25
  • Related CVEs
  • CVE-2026-5733: Mozilla Firefox Buffer Overflow Vulnerability

  • CVE-2026-5732: Mozilla Firefox Buffer Overflow Vulnerability

  • CVE-2026-4710: Mozilla Firefox Buffer Overflow Vulnerability

  • CVE-2026-4699: Mozilla Firefox Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English