Description
VLC for Android before 3.7.2 contains a confused-deputy file overwrite vulnerability in FileUtils.getUri() that trusts content URIs based only on the com.fsck.k9.attachmentprovider or gmail-ls authority. A co-installed app without permissions can declare these authorities and send a crafted VIEW intent to the exported StartActivity, making VLC write attacker-chosen content under an attacker-chosen name in the shared Download directory, overwriting other apps' files when VLC holds All files access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| VideoLAN | VLC for Android | < 3.7.2 | 3.7.2 |
Advisories 1
- WID-SEC-2026-4148 VLC für Android: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Oct 25, 2026
References
- https://github.com/videolan/vlc-android/commit/d289a54689d82eb788ec547ff5fb08f847ae62e6 patch
- VLC for Android 3.7.2 Release Notes release-notes
- https://github.com/videolan/vlc-android/blob/3.7.1/application/vlc-android/src/org/videolan/vlc/util/FileUtils.kt#L397-L428 technical-description
- VulnCheck Advisory: VLC for Android before 3.7.2 File Overwrite via Spoofed Mail Attachment Provider third-party-advisory