CVE-2025-3909

NameCVE-2025-3909
DescriptionThunderbird'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 affects Thunderbird < 128.10.1 and Thunderbird < 138.0.1.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4167-1, DSA-5921-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
thunderbird (PTS)bullseye1:115.12.0-1~deb11u1vulnerable
bullseye (security)1:128.10.1esr-1~deb11u1fixed
bookworm1:128.10.0esr-1~deb12u1vulnerable
bookworm (security)1:128.10.1esr-1~deb12u1fixed
trixie1:128.10.0esr-1vulnerable
sid1:128.10.1esr-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
thunderbirdsourcebullseye1:128.10.1esr-1~deb11u1DLA-4167-1
thunderbirdsourcebookworm1:128.10.1esr-1~deb12u1DSA-5921-1
thunderbirdsource(unstable)1:128.10.1esr-1

Notes

https://www.mozilla.org/en-US/security/advisories/mfsa2025-34/#CVE-2025-3909

Search for package or bug name: Reporting problems