CVE-2025-4086 Specially crafted filename could be used to obscure download type

Medium 6.5 Published Updated

Attackers can obscure file extensions in download dialogs using crafted filenames, potentially misleading users about file types.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-4086?

CVE-2025-4086 is a medium-severity vulnerability in Mozilla Firefox, published on 29 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A specially crafted filename containing a large number of encoded newline characters could obscure the file's extension when displayed in the download dialog. *This bug only affects Thunderbird for Android. Other versions of Thunderbird are unaffected.*. This vulnerability was fixed in Firefox 138 and Thunderbird 138.

Weakness: CWE-451

Which versions are affected by CVE-2025-4086?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2025-4086?

Upgrade to a fixed version.

Is CVE-2025-4086 being exploited?

There is no known exploitation of CVE-2025-4086 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-54jr-pmx4-5pvr.

Is CVE-2025-4086 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free