CVE-2025-3909

8.1 HIGH

📋 TL;DR

This vulnerability in Thunderbird allows attackers to execute JavaScript in the file:/// context by crafting a malicious email attachment. When Thunderbird incorrectly renders a nested message/rfc822 attachment as HTML instead of PDF, embedded JavaScript can run without requiring file downloads. This affects Thunderbird users on versions below 128.10.1 and 138.0.1.

💻 Affected Systems

Products:
  • Mozilla Thunderbird
Versions: Thunderbird < 128.10.1 and Thunderbird < 138.0.1
Operating Systems: All platforms running vulnerable Thunderbird versions
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability requires user interaction (opening malicious email) but no additional configuration changes.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could execute arbitrary JavaScript with local file system access, potentially leading to data theft, malware installation, or privilege escalation.

🟠

Likely Case

Targeted phishing campaigns delivering malicious emails that execute JavaScript when opened, potentially stealing sensitive information from the victim's system.

🟢

If Mitigated

With proper email filtering and user awareness, impact is limited to isolated incidents with minimal data exposure.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires crafting a specific email with nested attachments and relies on user interaction to open the email.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Thunderbird 128.10.1 or Thunderbird 138.0.1

Vendor Advisory: https://www.mozilla.org/security/advisories/mfsa2025-34/

Restart Required: Yes

Instructions:

1. Open Thunderbird. 2. Go to Help > About Thunderbird. 3. Allow automatic update or download latest version from mozilla.org. 4. Restart Thunderbird after update.

🔧 Temporary Workarounds

Disable HTML email rendering

all

Configure Thunderbird to display emails as plain text only

Thunderbird Settings > Privacy & Security > untick 'Allow messages to load remote images' and set 'Block remote content in messages'

🧯 If You Can't Patch

  • Implement email filtering to block messages with nested message/rfc822 attachments
  • Educate users to avoid opening suspicious emails and attachments from unknown senders

🔍 How to Verify

Check if Vulnerable:

Check Thunderbird version in Help > About Thunderbird

Check Version:

thunderbird --version (Linux) or check About dialog

Verify Fix Applied:

Verify version is 128.10.1 or higher (for 128.x branch) or 138.0.1 or higher (for 138.x branch)

📡 Detection & Monitoring

Log Indicators:

  • Unusual file:/// protocol access from Thunderbird
  • Multiple nested attachment processing errors

Network Indicators:

  • Emails with message/rfc822 attachments containing PDF content-type headers

SIEM Query:

source="thunderbird" AND (event="file_access" AND path="/tmp/*") OR (attachment_type="message/rfc822" AND content_type="application/pdf")

🔗 References

📤 Share & Export