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
    • 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-4367

CVE-2024-4367: Mozilla Firefox PDF.js RCE Vulnerability

CVE-2024-4367 is a remote code execution flaw in Mozilla Firefox PDF.js that allows arbitrary JavaScript execution due to missing type checks. This article covers the technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-4367 Overview

CVE-2024-4367 is a type confusion vulnerability in PDF.js, Mozilla's JavaScript-based PDF viewer library. A missing type check when handling fonts in PDF documents allows attackers to execute arbitrary JavaScript code within the PDF.js context. This vulnerability is particularly dangerous because PDF.js is embedded in Firefox, Thunderbird, and numerous web applications that render PDF documents.

Critical Impact

Arbitrary JavaScript execution through maliciously crafted PDF documents can lead to complete compromise of user sessions, data exfiltration, and further exploitation of affected browsers and applications.

Affected Products

  • Mozilla Firefox (versions prior to 126)
  • Mozilla Firefox ESR (versions prior to 115.11)
  • Mozilla Thunderbird (versions prior to 115.11)
  • Debian Linux 10.0
  • Open-Xchange AppSuite Frontend (multiple versions through 7.10.6 revision 44)

Discovery Timeline

  • May 14, 2024 - CVE-2024-4367 published to NVD
  • April 24, 2025 - Last updated in NVD database

Technical Details for CVE-2024-4367

Vulnerability Analysis

The vulnerability resides in PDF.js's font handling code, specifically in how the library processes font definitions embedded within PDF documents. PDF.js parses font data to render text accurately, but a critical type check was missing during this processing phase. When the font handler receives unexpected input types, instead of validating and rejecting malformed data, the code proceeds to process the attacker-controlled content.

This improper validation creates a condition where an attacker can inject JavaScript code that gets evaluated in the PDF.js execution context. Since PDF.js runs with the same privileges as the hosting application (whether Firefox, Thunderbird, or a web application), successful exploitation grants the attacker significant access to perform actions on behalf of the user.

The vulnerability is classified under CWE-754 (Improper Check for Unusual or Exceptional Conditions), reflecting the missing validation that should have caught the malformed font data.

Root Cause

The root cause is a missing type check in the font processing logic of PDF.js. When parsing font definitions from PDF documents, the code expected specific data types but failed to validate input before use. This allowed an attacker to supply a malicious value where a legitimate font property was expected, which then got interpreted and executed as JavaScript code rather than being rejected as invalid input.

Attack Vector

Exploitation requires user interaction—specifically, opening a maliciously crafted PDF document. The attack vector is network-based, meaning attackers can distribute malicious PDFs through various channels:

  1. Email attachments opened in Thunderbird or webmail clients using PDF.js
  2. PDF files hosted on websites and viewed in Firefox's built-in PDF viewer
  3. Documents uploaded to web applications that use PDF.js for rendering
  4. Phishing campaigns directing victims to malicious PDF links

The attacker crafts a PDF document with a specially constructed font definition containing JavaScript payload. When the victim opens this PDF in any application using a vulnerable PDF.js version, the payload executes within the application's context.

A proof-of-concept is publicly available at the Kabiri Labs GitHub repository, and detailed technical analysis has been published by Codean Labs. An exploit has also been documented on Exploit-DB #52273.

Detection Methods for CVE-2024-4367

Indicators of Compromise

  • Unexpected JavaScript execution events originating from PDF rendering processes
  • Browser or email client processes spawning unusual child processes after PDF file access
  • Network connections initiated from PDF viewer contexts to unknown external hosts
  • Anomalous font-related errors in PDF.js console logs followed by script execution

Detection Strategies

  • Monitor for suspicious PDF files containing unusual font definitions or embedded scripts
  • Implement content inspection rules to detect known PoC signatures in PDF documents
  • Deploy endpoint detection rules that alert on JavaScript execution patterns from PDF rendering engines
  • Review browser extension and application logs for PDF.js-related errors preceding suspicious activity

Monitoring Recommendations

  • Enable verbose logging for PDF.js in development and staging environments to identify exploitation attempts
  • Configure security information and event management (SIEM) rules to correlate PDF file access with subsequent anomalous JavaScript execution
  • Monitor network traffic for connections initiated immediately after PDF file rendering in browsers
  • Implement file integrity monitoring for applications embedding PDF.js to detect unauthorized modifications

How to Mitigate CVE-2024-4367

Immediate Actions Required

  • Update Mozilla Firefox to version 126 or later immediately
  • Update Mozilla Firefox ESR to version 115.11 or later
  • Update Mozilla Thunderbird to version 115.11 or later
  • Update PDF.js library to version 4.2.67 or later in all web applications using embedded PDF rendering
  • Review and update Open-Xchange AppSuite Frontend deployments to patched versions

Patch Information

Mozilla has released security updates addressing this vulnerability across all affected products. The fixes are documented in MFSA-2024-21, MFSA-2024-22, and MFSA-2024-23. The standalone PDF.js library was patched in version 4.2.67. Debian has also released security updates documented in their LTS announcements. The original bug tracking can be found at Mozilla Bug #1893645.

Workarounds

  • Disable the built-in PDF viewer in Firefox and use an alternative PDF reader until patching is complete
  • Configure email clients to download PDF attachments rather than rendering them inline
  • Implement web application firewalls (WAF) rules to block PDF files containing suspicious font structures
  • For web applications using PDF.js, consider server-side PDF rendering with sanitization until the library can be updated
bash
# Firefox configuration to disable built-in PDF viewer (about:config)
# Set pdfjs.disabled to true to use external PDF reader
user_pref("pdfjs.disabled", true);

# Verify Firefox version is patched
firefox --version
# Should show 126.0 or higher for standard release
# Should show 115.11 or higher for ESR

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMozilla Firefox

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability32.09%

  • Known ExploitedYes
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo

  • CWE-754
  • Technical References
  • Mozilla Bug Report #1893645

  • Debian LTS Advisory May 2024

  • Debian LTS Advisory May 2024

  • Full Disclosure Mailing List August 2024

  • Codean Labs CVE Analysis

  • GitHub Gogs Issue #7928

  • GitHub pdf.js Release v4.2.67

  • Exploit-DB #52273
  • Vendor Resources
  • Mozilla Security Advisory MFSA-2024-21

  • Mozilla Security Advisory MFSA-2024-22

  • Mozilla Security Advisory MFSA-2024-23
  • Related CVEs
  • CVE-2026-4698: Mozilla Firefox JIT RCE Vulnerability

  • CVE-2026-4720: Mozilla Firefox RCE Vulnerability

  • CVE-2026-4729: Mozilla Firefox RCE Vulnerability

  • CVE-2026-4721: Mozilla Firefox RCE Vulnerability
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