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-3859 Overview
CVE-2024-3859 affects 32-bit builds of Mozilla Firefox, Firefox ESR, and Thunderbird. Integer overflows in the OpenType font parsing path lead to an out-of-bounds read [CWE-125]. An attacker who serves a malformed OpenType font to a victim can trigger the condition and read memory outside the intended buffer.
The issue requires user interaction and does not grant code execution on its own. However, the out-of-bounds read may expose sensitive process memory and support further exploitation chains. Mozilla fixed the flaw in Firefox 125, Firefox ESR 115.10, and Thunderbird 115.10.
Critical Impact
Attackers can trigger memory disclosure in 32-bit Firefox and Thunderbird clients by delivering a crafted OpenType font through a web page or HTML email.
Affected Products
- Mozilla Firefox versions prior to 125 (32-bit)
- Mozilla Firefox ESR versions prior to 115.10 (32-bit)
- Mozilla Thunderbird versions prior to 115.10 (32-bit) and Debian Linux 10 packages
Discovery Timeline
- 2024-04-16 - CVE-2024-3859 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-3859
Vulnerability Analysis
The flaw sits in the font-handling code used by Firefox and Thunderbird on 32-bit platforms. During parsing of OpenType font tables, arithmetic on untrusted size or offset fields overflows the 32-bit integer range. The overflowed value is then used as a buffer length or index.
The downstream read operation accesses memory beyond the allocated font buffer. This leaks adjacent heap contents into the renderer process. Attackers can combine the primitive with other weaknesses to defeat memory layout mitigations such as Address Space Layout Randomization (ASLR).
Exploitation requires the victim to load attacker-controlled content. Any page or HTML email that references a malicious @font-face resource can reach the vulnerable parser.
Root Cause
The root cause is unchecked integer arithmetic in OpenType table processing on 32-bit builds. Size calculations wrap around when operand values exceed UINT32_MAX, producing undersized allocations or inverted bounds checks. Subsequent reads treat the wrapped value as a valid length, causing an out-of-bounds read [CWE-125]. 64-bit builds are not affected because the intermediate arithmetic cannot overflow the wider integer type.
Attack Vector
The attack vector is network-based and requires user interaction. An attacker hosts a web page that loads a malformed OpenType font via CSS @font-face, or embeds the font reference inside an HTML email rendered by Thunderbird. When the victim visits the page or opens the message, the font engine parses the malicious tables and triggers the overflow. No authentication is required.
Technical details are available in Mozilla Bug Report #1874489 and Mozilla Security Advisory MFSA-2024-18.
Detection Methods for CVE-2024-3859
Indicators of Compromise
- Renderer or content process crashes in xul.dll or libxul.so on 32-bit Firefox or Thunderbird installs when loading web fonts
- Unexpected network fetches for .otf or .ttf resources from untrusted origins immediately preceding a browser crash
- HTML email messages containing external @font-face references delivered to Thunderbird users
Detection Strategies
- Inventory endpoints to identify 32-bit installations of Firefox, Firefox ESR, and Thunderbird running versions below the fixed releases
- Alert on browser process crashes with access-violation signatures tied to font parsing modules
- Inspect web proxy and email gateway logs for font files served from low-reputation domains
Monitoring Recommendations
- Monitor endpoint telemetry for Firefox and Thunderbird version strings and architecture via software inventory feeds
- Track crash reports from Mozilla's crashreporter process for repeated font-related signatures
- Correlate browser crash events with preceding DNS and HTTP requests to flag targeted delivery attempts
How to Mitigate CVE-2024-3859
Immediate Actions Required
- Upgrade Firefox to version 125 or later on all 32-bit systems
- Upgrade Firefox ESR to 115.10 or later for enterprise deployments
- Upgrade Thunderbird to 115.10 or later and apply Debian LTS updates on Debian 10 hosts
- Prioritize patching on hosts that render untrusted HTML email or browse arbitrary web content
Patch Information
Mozilla released fixes in Firefox 125, Firefox ESR 115.10, and Thunderbird 115.10. Refer to Mozilla Security Advisory MFSA-2024-18, MFSA-2024-19, and MFSA-2024-20 for the full list of addressed issues. Debian users should apply the updates described in the Debian LTS Announcement for April 12, 2024 and the Debian LTS Announcement for April 13, 2024.
Workarounds
- Migrate 32-bit endpoints to 64-bit Firefox or Thunderbird builds, which are not affected by the overflow
- Configure Thunderbird to render messages as plain text to prevent HTML and remote font loading
- Deploy network-level controls that block font downloads from untrusted origins until patching completes
# Disable remote content and HTML rendering in Thunderbird (user.js)
user_pref("mail.inline_attachments", false);
user_pref("mailnews.display.prefer_plaintext", true);
user_pref("mailnews.message_display.disable_remote_image", true);
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

