CVE-2025-4086
Medium · 6.5CVSS
6.5
EPSS
0.3%
Published
Apr 29, 2025
CISA due date
—
Cloudanix analysis
A flaw in the Android version of Thunderbird could let attackers hide a file's real type in a download prompt, making it easier for users to open something harmful by mistake.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A crafted filename with many encoded newline characters can hide the true file extension in the download dialog, causing the displayed name to mislead users about the file type and potentially its purpose.
Why it matters to the business
Users on affected Android clients may be tricked into handling files they believe are safe, increasing the chance of opening malicious content and resulting in data exposure or unauthorized actions.
How an attack unfolds
An attacker crafts a download link or attachment whose filename contains numerous encoded newlines to obscure the extension, then delivers it via email, web page, or messaging; when the user initiates the download on the vulnerable Android client the dialog shows a misleading name that can lead to unintended file execution or handling.
How to fix it
Upgrade affected Mozilla Firefox and Thunderbird clients to version 138 or later; for Thunderbird for Android specifically ensure the update is applied as other Thunderbird versions are not impacted.
How to confirm the fix worked
Confirm the client version is at least 138, test download dialogs with sample filenames containing encoded newlines to verify the extension is no longer obscured, and review update logs for successful application of the fix.
Typical attack path
- Attacker prepares a file with a specially encoded filename containing many newline characters
- Attacker hosts or sends the file via a download link, email, or message
- User on Thunderbird for Android initiates the download
- Download dialog displays an obscured extension, misleading the user about file type
- User proceeds with the file, enabling limited confidentiality or integrity impact
How to detect it
Review download logs and file-handling events on Android devices for unexpected file types or user reports of misleading filenames; no widespread exploitation indicators are known given the low EPSS and lack of KEV listing.
What your security team should do
- Prioritize updating Thunderbird for Android clients to version 138 immediately due to the direct user-facing risk
- Apply Firefox 138 updates across the environment to address the related client exposure
- Educate users on verifying file extensions before opening downloads from untrusted sources
- Monitor for any new EPSS increases or exploit reports given the low but present score trend
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:20.04:LTS | firefox | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:20.04:LTS | thunderbird | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:22.04:LTS | thunderbird | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs115 | 0 | No fix |
| Ubuntu:24.10 | mozjs115 | 0 | No fix |
| Ubuntu:25.04 | mozjs115 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 138.0-1.1 |
Related vulnerabilities
- CVE-2025-4084 Due to insufficient escaping of the special characters in the "copy as cURL" feature, an… Also affects firefox
- CVE-2025-4090 A vulnerability existed in Thunderbird for Android where potentially sensitive library… Also affects firefox
- CVE-2025-4082 Modification of specific WebGL shader attributes could trigger an out-of-bounds read… Also affects firefox
- CVE-2025-2817 Thunderbird's update mechanism allowed a medium-integrity user process to interfere with… Also affects firefox
- CVE-2025-3033 After selecting a malicious Windows `.url` shortcut from the local filesystem, an… Also affects firefox
- CVE-2025-27424 Websites redirecting to a non-HTTP scheme URL could allow a website address to be spoofed… Also affects firefox
- CVE-2025-27426 Malicious websites utilizing a server-side redirect to an internal error page could… Also affects firefox
- CVE-2025-27425 Scanning certain QR codes that included text with a website URL could allow the URL to be… Also affects firefox