CVEfocus › CVE database › CVE-2025-3909

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

CVSS 8.1 HighEPSS 0.9% (higher than 56% of CVEs)Published 2025-05-14Updated 2026-04-13Assigner: mozilla

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.

CWE-356

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
1Fix pending
2Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 22.04thunderbirdFixed1:128.12.0+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-3909
Ubuntu 20.04thunderbirdFix pending
Debian 14thunderbirdFixed1:128.10.1esr-1DEBIAN-CVE-2025-3909
Debian 13thunderbirdFixed1:128.10.1esr-1DEBIAN-CVE-2025-3909
Debian 12thunderbirdFixed1:128.10.1esr-1~deb12u1DEBIAN-CVE-2025-3909
Red Hat Enterprise Linux 10thunderbirdFixed0:128.10.1-1.el10_0RHSA-2025:8196
Red Hat Enterprise Linux 9thunderbirdFixed0:128.10.1-1.el9_6RHSA-2025:8203
Red Hat Enterprise Linux 8thunderbirdFixed0:128.11.0-1.el8_10RHSA-2025:8756
Red Hat Enterprise Linux 7thunderbirdWill not fix
Out of support scope
Red Hat Enterprise Linux 6thunderbirdWill not fix
Out of support scope
AlmaLinux 10thunderbirdFixed128.10.1-1.el10_0.alma.1ALSA-2025:8196
AlmaLinux 8thunderbirdFixed128.11.0-1.el8_10.alma.1ALSA-2025:8756
Rocky Linux 10thunderbirdFixed0:128.10.1-1.el10_0RLSA-2025:8196
Rocky Linux 9thunderbirdFixed0:128.10.1-1.el9_6RLSA-2025:8203
Rocky Linux 8thunderbirdFixed0:128.11.0-1.el8_10RLSA-2025:8756

What the vendor says

As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.