CVE-2026-16118
Xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.17 | Versionen patch: 1791970484, patch: 1791788287, patch: 1791371080, patch: 1791378395, patch: 1791371069 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.18 | Versionen patch: 1789029076, patch: 1791459707, patch: 1791459711, patch: 1791966259, patch: 1791459759 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.20 | Versionen patch: 1790223719, patch: 1790589855, patch: 1790598593, patch: 1790223279, patch: 1790589914, patch: 1790272426 |
| Red Hat | Red Hat AI Inference Server 3.5 | Versionen patch: 1791818357, patch: 1791427182, patch: 1791473631, patch: 1791473614, patch: 1791803821, patch: 1791425869 |
| Red Hat | Red Hat Enterprise Linux 10 | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | Version patch: 0:2.80.4-4.el10_0.18 |
| Red Hat | Red Hat Enterprise Linux 8 | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 9 | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | Version patch: 0:2.68.4-14.el9_4.9 |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | Alle Versionen |
| Red Hat | Red Hat Enterprise Linux AI 3.5 | Versionen patch: 1793194834, patch: 1793194817, patch: 1793135863, patch: 1793135861, patch: 1793194815, patch: 1793206758 |
| Red Hat | Red Hat OpenShift AI 3.0 | Versionen patch: 1790276884, patch: 1790276886, patch: 1790276889, patch: 1790277045, patch: 1790276974 |
| Red Hat | Red Hat OpenShift AI 3.2 | Versionen patch: 1790703494, patch: 1790703506, patch: 1790703586, patch: 1790703497, patch: 1790703590, patch: 1790703568 |
| Red Hat | Red Hat OpenShift AI 3.3 | Versionen patch: 1790703615, patch: 1791231820, patch: 1790703579, patch: 1790703608, patch: 1790703516, patch: 1790703524 |
| Red Hat | Red Hat OpenShift AI 3.5 | Versionen patch: 1790703552, patch: 1790703707, patch: 1790703554, patch: 1790703630, patch: 1790703706, patch: 1790703557 |
| Red Hat | Red Hat Update Infrastructure 5 | Versionen patch: 1789482961, patch: 1789479900, patch: 1789479891, patch: 1789479916, patch: 1789478095 |
| Xdg | Xdgmime | Alle Versionen |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/errata/RHSA-2026:64799
- https://access.redhat.com/errata/RHSA-2026:64800
- https://access.redhat.com/errata/RHSA-2026:66451
- https://access.redhat.com/errata/RHSA-2026:67956
- https://access.redhat.com/errata/RHSA-2026:70636
- https://access.redhat.com/errata/RHSA-2026:71403
- https://access.redhat.com/errata/RHSA-2026:71404
- https://access.redhat.com/errata/RHSA-2026:71405
- https://access.redhat.com/errata/RHSA-2026:72394
- https://access.redhat.com/errata/RHSA-2026:72395
- https://access.redhat.com/errata/RHSA-2026:72399
- https://access.redhat.com/errata/RHSA-2026:72470
- https://access.redhat.com/errata/RHSA-2026:72475
- https://access.redhat.com/errata/RHSA-2026:72476
- https://access.redhat.com/errata/RHSA-2026:72502
- https://access.redhat.com/errata/RHSA-2026:73859
- https://access.redhat.com/errata/RHSA-2026:73909
- https://access.redhat.com/errata/RHSA-2026:73929
- https://access.redhat.com/errata/RHSA-2026:73930
- https://access.redhat.com/errata/RHSA-2026:73959
- https://access.redhat.com/errata/RHSA-2026:73960
- https://access.redhat.com/errata/RHSA-2026:73961
- https://access.redhat.com/errata/RHSA-2026:73962
- https://access.redhat.com/errata/RHSA-2026:74359
- https://access.redhat.com/errata/RHSA-2026:74360