CVE-2026-16118
Fixed in a distro release EPSS <1%CVSS 7.1
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.
Products: xdgmime, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions, Red Hat Enterprise Linux 9.6 Extended Update Support, Cert Manager support for Red Hat OpenShift release 1.17, Cert Manager support for Red Hat OpenShift release 1.18, Cert Manager support for Red Hat OpenShift release 1.20, Red Hat AI Inference Server 3.2, Red Hat AI Inference Server 3.5, Red Hat Cost Management On-Premise 1, Red Hat OpenShift AI 3.0, Red Hat OpenShift AI 3.2, Red Hat OpenShift AI 3.3, Red Hat OpenShift AI 3.4, Red Hat OpenShift AI 3.5, Red Hat Update Infrastructure 5, Red Hat Enterprise Linux 7
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | glib2 | 2.80.4-12.el10_2.22 |
| AlmaLinux 10 | glib2-devel | 2.80.4-12.el10_2.22 |
| AlmaLinux 10 | glib2-doc | 2.80.4-12.el10_2.22 |
| AlmaLinux 10 | glib2-static | 2.80.4-12.el10_2.22 |
| AlmaLinux 10 | glib2-tests | 2.80.4-12.el10_2.22 |
| AlmaLinux 8 | glib2 | 2.56.4-178.el8_10 |
| AlmaLinux 8 | glib2-devel | 2.56.4-178.el8_10 |
| AlmaLinux 8 | glib2-doc | 2.56.4-178.el8_10 |
| AlmaLinux 8 | glib2-fam | 2.56.4-178.el8_10 |
| AlmaLinux 8 | glib2-static | 2.56.4-178.el8_10 |
| AlmaLinux 8 | glib2-tests | 2.56.4-178.el8_10 |
| AlmaLinux 9 | glib2 | 2.68.4-19.el9_8.10 |
| AlmaLinux 9 | glib2-devel | 2.68.4-19.el9_8.10 |
| AlmaLinux 9 | glib2-doc | 2.68.4-19.el9_8.10 |
| AlmaLinux 9 | glib2-static | 2.68.4-19.el9_8.10 |
| AlmaLinux 9 | glib2-tests | 2.68.4-19.el9_8.10 |
| Debian 12 | glib2.0 | no fix |
| Debian 13 | glib2.0 | 2.84.4-3~deb13u5 |
| Debian 14 | glib2.0 | 2.88.3-3 |
| Red Hat Enterprise Linux 10.2 | glib2 | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-debuginfo | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-debugsource | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-devel | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-devel-debuginfo | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-doc | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-static | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-tests | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 10.2 | glib2-tests-debuginfo | 0:2.80.4-12.el10_2.22 |
| Red Hat Enterprise Linux 8 | glib2 | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-debuginfo | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-debugsource | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-devel | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-devel-debuginfo | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-doc | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-fam | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-fam-debuginfo | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-static | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-tests | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 8 | glib2-tests-debuginfo | 0:2.56.4-178.el8_10 |
| Red Hat Enterprise Linux 9 | glib2 | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-debuginfo | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-debugsource | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-devel | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-devel-debuginfo | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-doc | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-static | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-tests | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux 9 | glib2-tests-debuginfo | 0:2.68.4-19.el9_8.10 |
| Red Hat Enterprise Linux eus 10.0 | glib2 | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-debuginfo | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-debugsource | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-devel | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-devel-debuginfo | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-doc | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-static | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-tests | 0:2.80.4-4.el10_0.18 |
| Red Hat Enterprise Linux eus 10.0 | glib2-tests-debuginfo | 0:2.80.4-4.el10_0.18 |
| Red Hat rhel e4s 9.2 | glib2 | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-debuginfo | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-debugsource | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-devel | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-devel-debuginfo | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-doc | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-tests | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.2 | glib2-tests-debuginfo | 0:2.68.4-7.el9_2.8 |
| Red Hat rhel e4s 9.4 | glib2 | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-debuginfo | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-debugsource | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-devel | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-devel-debuginfo | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-doc | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-tests | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel e4s 9.4 | glib2-tests-debuginfo | 0:2.68.4-14.el9_4.9 |
| Red Hat rhel eus 9.6 | glib2 | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-debuginfo | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-debugsource | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-devel | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-devel-debuginfo | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-doc | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-static | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-tests | 0:2.68.4-16.el9_6.8 |
| Red Hat rhel eus 9.6 | glib2-tests-debuginfo | 0:2.68.4-16.el9_6.8 |
| Rocky Linux 10 | glib2 | 0:2.80.4-12.el10_2.22 |
| Rocky Linux 8 | glib2 | 0:2.56.4-178.el8_10 |
| Rocky Linux 9 | glib2 | 0:2.68.4-19.el9_8.10 |
| Ubuntu 22.04 LTS | glib2.0 | 2.72.4-0ubuntu2.10 |
| Ubuntu 24.04 LTS | glib2.0 | 2.80.0-6ubuntu3.9 |
| Ubuntu 26.04 LTS | glib2.0 | 2.88.0-1ubuntu0.1 |
| Ubuntu Pro 14.04 LTS | glib2.0 | 2.40.2-0ubuntu1.1+esm8 |
| Ubuntu Pro 16.04 LTS | glib2.0 | 2.48.2-0ubuntu4.8+esm6 |
| Ubuntu Pro 18.04 LTS | glib2.0 | 2.56.4-0ubuntu0.18.04.9+esm6 |
| Ubuntu Pro 20.04 LTS | glib2.0 | 2.64.6-1~ubuntu20.04.9+esm2 |