CVE-2024-5846

8.8 HIGH

📋 TL;DR

A use-after-free vulnerability in PDFium, Chrome's PDF rendering engine, allows remote attackers to potentially exploit heap corruption via malicious PDF files. This could lead to arbitrary code execution or browser crashes. All Chrome users prior to version 126.0.6478.54 are affected.

💻 Affected Systems

Products:
  • Google Chrome
  • Chromium-based browsers
Versions: All versions prior to 126.0.6478.54
Operating Systems: Windows, macOS, Linux, ChromeOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default Chrome configurations with PDF viewing enabled are vulnerable. Chrome's built-in PDF viewer uses PDFium.

📦 What is this software?

Chrome by Google

Google Chrome is the world's most popular web browser, used by over 3 billion users globally across Windows, macOS, Linux, Android, and iOS platforms. As a Chromium-based browser developed by Google, Chrome dominates the browser market with approximately 65% market share, making it a critical compon...

Learn more about Chrome →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution with the same privileges as the Chrome process, potentially leading to full system compromise if Chrome is running with elevated privileges.

🟠

Likely Case

Browser crash (denial of service) or limited memory corruption leading to unstable browser behavior.

🟢

If Mitigated

Browser sandboxing may contain the exploit to the browser process, preventing full system compromise.

🌐 Internet-Facing: HIGH - Attackers can host malicious PDFs on websites or send them via email, requiring only user interaction to trigger.
🏢 Internal Only: MEDIUM - Internal users could be targeted via phishing emails with malicious PDF attachments.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: MEDIUM

Exploitation requires user interaction to open a malicious PDF file. No public exploit code has been identified as of the advisory date.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 126.0.6478.54 and later

Vendor Advisory: https://chromereleases.googleblog.com/2024/06/stable-channel-update-for-desktop.html

Restart Required: Yes

Instructions:

1. Open Chrome. 2. Click the three-dot menu → Help → About Google Chrome. 3. Chrome will automatically check for and install updates. 4. Click 'Relaunch' to restart Chrome with the patched version.

🔧 Temporary Workarounds

Disable Chrome's built-in PDF viewer

all

Force Chrome to download PDFs instead of opening them internally, preventing PDFium from processing malicious files.

chrome://settings/content/pdfDocuments → Toggle 'Download PDF files instead of automatically opening them in Chrome' to ON

Use alternative PDF viewer

all

Configure Chrome to open PDFs with an external application like Adobe Reader.

chrome://settings/content/pdfDocuments → Toggle 'Open PDFs in Chrome' to OFF

🧯 If You Can't Patch

  • Block PDF file downloads at network perimeter using content filtering rules.
  • Implement application allowlisting to restrict execution of unpatched Chrome versions.

🔍 How to Verify

Check if Vulnerable:

Open Chrome, go to chrome://version and check if the version is earlier than 126.0.6478.54.

Check Version:

chrome://version

Verify Fix Applied:

Confirm Chrome version is 126.0.6478.54 or later via chrome://version.

📡 Detection & Monitoring

Log Indicators:

  • Chrome crash reports with PDFium-related stack traces
  • Unexpected Chrome process termination events in system logs

Network Indicators:

  • Downloads of PDF files from untrusted sources followed by Chrome crashes

SIEM Query:

source="chrome_crash_reports" AND process="chrome" AND module="pdfium"

🔗 References

📤 Share & Export