CVE-2026-16118 Xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c
Description
A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in _xdg_mime_magic_parse_magic_line() in the xdgmimemagic.c file on little-endian systems when an attacker-controlled MIME magic file in a user-writable XDG data location (e.g., in the $XDG_DATA_HOME/mime/magic path) is parsed by an application performing MIME type detection (e.g., via g_content_type_guess()). When performing byte-swap, incorrect pointer arithmetic on the write side causes an out-of-bounds write of 2 bytes, resulting in an application crash or memory corruption.
Détail CVSS 3.1
Vecteur CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HExploitable avec un accès local à 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
- Local
- Complexité
- Faible
- Privilèges requis
- Aucun
- Interaction
- Requise
- Portée
- Inchangée
- Confidentialité
- Aucun
- Intégrité
- Élevé
- 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 7 | Versions non publiées | |
| Red Hat Enterprise Linux 8 | Versions non publiées | |
| Red Hat Enterprise Linux 9 | Versions non publiées | |
| xdgmime | Versions non publiées | |
| Red Hat Update Infrastructure 5 1789478095 | premières → < 1789478095 | 1789478095 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | Versions non publiées | |
| Red Hat Enterprise Linux 10.0 Extended Update Support | Versions non publiées | |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | Versions non publiées |
Afficher les 14 autres branches Masquer les 14 autres branches
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Red Hat Enterprise Linux 9.6 Extended Update Support | Versions non publiées | |
| Cert Manager support for Red Hat OpenShift release 1.20 1790598593 | premières → < 1790598593 | 1790598593 |
| Red Hat AI Inference Server 3.2 1790621713 | premières → < 1790621713 | 1790621713 |
| Red Hat OpenShift AI 3.0 1790276974 | premières → < 1790276974 | 1790276974 |
| Red Hat OpenShift AI 3.3 1791232257 | premières → < 1791232257 | 1791232257 |
| Red Hat OpenShift AI 3.2 1790703494 | premières → < 1790703494 | 1790703494 |
| Red Hat OpenShift AI 3.4 1790703545 | premières → < 1790703545 | 1790703545 |
| Red Hat OpenShift AI 3.5 1790703706 | premières → < 1790703706 | 1790703706 |
| Red Hat Cost Management On-Premise 1 1791460851 | premières → < 1791460851 | 1791460851 |
| Red Hat AI Inference Server 3.5 1791473614 | premières → < 1791473614 | 1791473614 |
| Cert Manager support for Red Hat OpenShift release 1.17 1791970484 | premières → < 1791970484 | 1791970484 |
| Cert Manager support for Red Hat OpenShift release 1.18 1791966259 | premières → < 1791966259 | 1791966259 |
| Red Hat Enterprise Linux AI 3.5 1793135863 | premières → < 1793135863 | 1793135863 |
| Red Hat OpenShift AI (RHOAI) | Versions non publiées |