Skip to main content

CVE-2024-6600: Mozilla Firefox Buffer Overflow Vulnerability

CVE-2024-6600 is a buffer overflow flaw in Mozilla Firefox affecting GLSL shader memory allocation on macOS. This post explains the technical details, affected versions, impact, and mitigation steps.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-6600 Overview

CVE-2024-6600 is an out-of-bounds access vulnerability in the ANGLE (Almost Native Graphics Layer Engine) component used by Mozilla Firefox and Thunderbird on macOS. The flaw stems from insufficient large-allocation checks for GLSL (OpenGL Shading Language) shaders. When a shader allocates more than 8192 integers in private shader memory, the lenient bounds check permits an out-of-bounds memory access. The issue affects Firefox versions before 128, Firefox ESR before 115.13, Thunderbird before 115.13, and Thunderbird before 128. Exploitation requires user interaction, such as visiting a crafted web page that triggers WebGL shader compilation.

Critical Impact

A malicious web page can trigger an out-of-bounds memory access on macOS clients running vulnerable Firefox or Thunderbird builds, potentially leading to information disclosure, memory corruption, or process instability.

Affected Products

  • Mozilla Firefox versions prior to 128
  • Mozilla Firefox ESR versions prior to 115.13
  • Mozilla Thunderbird versions prior to 115.13 and prior to 128

Discovery Timeline

  • 2024-07-09 - CVE-2024-6600 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-6600

Vulnerability Analysis

The vulnerability resides in ANGLE, the graphics abstraction layer that Firefox uses to translate WebGL and OpenGL ES calls to native graphics APIs. On macOS, ANGLE compiles GLSL shaders submitted through WebGL. The compiler enforces upper limits on allocations for private shader memory to prevent excessive resource use and to keep indexing within safe bounds.

The allocation validation logic is too permissive. When a shader declares private memory exceeding 8192 integers, the check does not reject or clamp the allocation. Downstream code then indexes into memory using values derived from the oversized allocation, producing an out-of-bounds access. This maps to [CWE-770: Allocation of Resources Without Limits or Throttling].

Root Cause

The root cause is an inadequate upper-bound check on private shader memory allocations within ANGLE's GLSL translator on macOS. The check fails to correctly reject shaders that request more than 8192 integers of private storage, allowing subsequent memory operations to reference addresses outside the intended buffer.

Attack Vector

An attacker delivers a crafted web page containing a malicious WebGL shader. When a victim using an affected Firefox or Thunderbird build on macOS loads the page, the browser compiles the shader through ANGLE. The oversized private memory allocation triggers the out-of-bounds access during shader processing. Because Thunderbird can render remote content, HTML email that loads external resources may also serve as a delivery vector.

No verified public proof-of-concept code is available. See Mozilla Bug Report #1888340 for technical discussion.

Detection Methods for CVE-2024-6600

Indicators of Compromise

  • Unexpected crashes or hangs in the Firefox or Thunderbird content process on macOS following WebGL activity
  • Crash reports referencing ANGLE, GLSL translation, or shader compilation frames
  • Endpoints running Firefox versions below 128 or ESR builds below 115.13 on macOS

Detection Strategies

  • Inventory macOS endpoints for Firefox and Thunderbird versions and flag installations below the fixed releases
  • Monitor browser crash telemetry for shader-related faults originating in the ANGLE component
  • Correlate network telemetry for outbound requests preceding browser crashes to identify potentially malicious pages

Monitoring Recommendations

  • Enable and centralize macOS crash reporting for browser processes to spot patterns of shader-triggered faults
  • Track software inventory changes to confirm patched Firefox and Thunderbird versions are deployed
  • Review web proxy logs for user visits to unfamiliar domains that immediately precede browser instability

How to Mitigate CVE-2024-6600

Immediate Actions Required

  • Update Firefox to version 128 or later on all macOS endpoints
  • Update Firefox ESR to 115.13 or later where the ESR channel is in use
  • Update Thunderbird to 115.13 or 128, depending on the deployed channel
  • Prioritize macOS systems, since the flaw is specific to that platform

Patch Information

Mozilla addressed CVE-2024-6600 in Firefox 128, Firefox ESR 115.13, Thunderbird 115.13, and Thunderbird 128. Refer to Mozilla Security Advisory MFSA-2024-29, MFSA-2024-30, MFSA-2024-31, and MFSA-2024-32 for release-specific details.

Workarounds

  • Disable WebGL in Firefox by setting webgl.disabled to true in about:config where patching is delayed
  • Configure Thunderbird to block remote content in messages to reduce exposure to attacker-controlled shaders
  • Restrict browsing on unpatched macOS hosts to trusted sites until the update is applied
bash
# Configuration example: disable WebGL in Firefox via user.js
echo 'user_pref("webgl.disabled", true);' >> "$HOME/Library/Application Support/Firefox/Profiles/<profile>.default-release/user.js"

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.