ZeroHour

CVE-2026-84642

large

Unescaped regular expression flaw in Mozilla Thunderbird attachment hostname allowlist

CVSS 3.1
7.5 high
EPSS
<1%p17
Published
()
Modified
AI analysis

CVE-2026-84642 is a flaw in how Mozilla Thunderbird handles the mail.allowed_attachment_hostnames advanced configuration setting: the configured values are inserted into a regular expression without escaping. As a result, for some valid hostname values, unintended hostnames also match the pattern, so Thunderbird loads and serves remote attachments/content from hosts the user never allowed. An attacker who can point mail content at such an unintended hostname gains a confidentiality impact (per the CVSS vector, C:H/I:N/A:N), such as having remote content fetched from an unapproved host; no code execution is indicated. Only Thunderbird users who have explicitly set this non-default advanced preference are affected. There is no public proof-of-concept, the issue is not in CISA KEV, and EPSS assigns a 0.3% 30-day exploitation probability, so no exploitation is currently known.

What to do: Upgrade Thunderbird to version 155, or to 153.2 where that is the applicable update channel. As an interim check, open the Config Editor and see whether mail.allowed_attachment_hostnames is set at all; if it is not set, you are not affected. If it is set, prioritize upgrading, and review configured values for regex metacharacters that could match unintended hostnames until the update is applied.

Affected
mozilla thunderbirdThunderbird versions prior to 155 and prior to 153.2 (fixed in Thunderbird 155 and Thunderbird 153.2)
Estimated exposure
largeplausibly on the order of 100,000-1,000,000 users (of Thunderbird's ~20M+ monthly active users, limited to those who set the advanced… — Thunderbird's publicly reported active user base is on the order of 20 million, but the flaw applies only to the subset of users who have set the non-default mail.allowed_attachment_hostnames preference and whose configured values trigger…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The values of the mail.allowed_attachment_hostnames advanced config setting were used in a regular expression without escaping. For some possible valid hostnames, this could allow certain unintended hostnames to also match and serve remote attachments. This vulnerability was fixed in Thunderbird 155 and Thunderbird 153.2.

Vendors
mozilla
Products
thunderbird
Weakness
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.