Vulnerability · Published May 14, 2025 · Assigned by mozilla

CVE-2025-3909JavaScript Execution via Spoofed PDF Attachment and file:/// Link

High 8.1

In plain English

A high-severity security flaw in Thunderbird from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.5%top 59.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Thunderbird's handling of the X-Mozilla-External-Attachment-URL header can be exploited to execute JavaScript in the file:/// context. By crafting a nested email attachment (message/rfc822) and setting its content type to application/pdf, Thunderbird may incorrectly render it as HTML when opened, allowing the embedded JavaScript to run without requiring a file download. This behavior relies on Thunderbird auto-saving the attachment to /tmp and linking to it via the file:/// protocol, potentially enabling JavaScript execution as part of the HTML. This vulnerability was fixed in Thunderbird 128.10.1 and Thunderbird 138.0.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10thunderbird128.10.1-1.el10_0.alma.1ALSA-2025:8196
AlmaLinux:8thunderbird128.11.0-1.el8_10.alma.1ALSA-2025:8756
Debian:12thunderbird1:128.10.1esr-1~deb12u1DSA-5921-1
Debian:12thunderbird1:128.10.1esr-1~deb12u1DEBIAN-CVE-2025-3909
Debian:13thunderbird1:128.10.1esr-1DEBIAN-CVE-2025-3909
Debian:14thunderbird1:128.10.1esr-1DEBIAN-CVE-2025-3909
Rocky Linux:10thunderbird0:128.10.1-1.el10_0RLSA-2025:8196
Rocky Linux:8thunderbird0:128.11.0-1.el8_10RLSA-2025:8756
Rocky Linux:9thunderbird0:128.10.1-1.el9_6RLSA-2025:8203
Ubuntu:22.04:LTSthunderbird1:128.12.0+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-3909
Ubuntu:22.04:LTSthunderbird1:128.12.0+build1-0ubuntu0.22.04.1USN-7663-1

Affected products (as reported)

VendorProductVersions
Mozilla Thunderbird see references

Weakness: CWE-356 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References