CVE-2026-84270 Gvfs: mtp: out-of-bounds read in do_read()
Description
A flaw was found in the MTP backend in gvfs. When reading a file from a mounted MTP device, do_read() in gvfsbackendmtp.c trusts the data length returned by the device without limiting it to the original size requested by the client. If a malicious MTP device responds with more bytes than requested, this unrestricted length is passed directly to memcpy(). This causes the operation to read memory outside the intended boundaries. This allows an attacker who plugs in a malicious MTP device to cause a segmentation fault when a file is read and crash the gvfsd-mtp process, resulting in a denial of service.
Détail CVSS 3.1
Vecteur CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitable avec un accès physique à la machine, sans compte et si un utilisateur effectue une action ; un attaquant peut compromettre gravement la confidentialité, l’intégrité ou la disponibilité.
- Vecteur d’attaque
- Physique
- Complexité
- Faible
- Privilèges requis
- Aucun
- Interaction
- Requise
- Portée
- Inchangée
- Confidentialité
- Aucun
- Intégrité
- Aucun
- Disponibilité
- Élevé
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Red Hat Enterprise Linux 10 | Versions non publiées | |
| Red Hat Enterprise Linux 6 | Versions non publiées | |
| Red Hat Enterprise Linux 7 | Versions non publiées | |
| Red Hat Enterprise Linux 8 | Versions non publiées | |
| Red Hat Enterprise Linux 9 | Versions non publiées | |
| gvfs 1.60 | premières → < 1.60.2 | 1.60.2 |
Références
- access.redhat.com access.redhat.com
- RHBZ#2526794 bugzilla.redhat.com
- gitlab.gnome.org gitlab.gnome.org
Chronologie
- Publiée
- Dernière modification