CVE-2025-3909JavaScript Execution via Spoofed PDF Attachment and file:/// Link
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | thunderbird | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | thunderbird | Fixed | 1:128.12.0+build1-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-3909 |
| Ubuntu 20.04 | thunderbird | Fix pending | ||
| Debian 14 | thunderbird | Fixed | 1:128.10.1esr-1 | DEBIAN-CVE-2025-3909 |
| Debian 13 | thunderbird | Fixed | 1:128.10.1esr-1 | DEBIAN-CVE-2025-3909 |
| Debian 12 | thunderbird | Fixed | 1:128.10.1esr-1~deb12u1 | DEBIAN-CVE-2025-3909 |
| Red Hat Enterprise Linux 10 | thunderbird | Fixed | 0:128.10.1-1.el10_0 | RHSA-2025:8196 |
| Red Hat Enterprise Linux 9 | thunderbird | Fixed | 0:128.10.1-1.el9_6 | RHSA-2025:8203 |
| Red Hat Enterprise Linux 8 | thunderbird | Fixed | 0:128.11.0-1.el8_10 | RHSA-2025:8756 |
| Red Hat Enterprise Linux 7 | thunderbird | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | thunderbird | Will not fix Out of support scope | ||
| AlmaLinux 10 | thunderbird | Fixed | 128.10.1-1.el10_0.alma.1 | ALSA-2025:8196 |
| AlmaLinux 8 | thunderbird | Fixed | 128.11.0-1.el8_10.alma.1 | ALSA-2025:8756 |
| Rocky Linux 10 | thunderbird | Fixed | 0:128.10.1-1.el10_0 | RLSA-2025:8196 |
| Rocky Linux 9 | thunderbird | Fixed | 0:128.10.1-1.el9_6 | RLSA-2025:8203 |
| Rocky Linux 8 | thunderbird | Fixed | 0:128.11.0-1.el8_10 | RLSA-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.
- Mozilla Thunderbird
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1958376
- https://www.mozilla.org/security/advisories/mfsa2025-34/
- https://www.mozilla.org/security/advisories/mfsa2025-35/
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.