RHSA-2026:99864: Moderate: glib2 security update
GLib provides the core application building blocks for libraries and applications written in C. It provides the core object system used in GNOME, the main loop implementation, and a large set of utility functions for strings and common data structures.Security Fix(es): xdgmime: heap-based buffer overflow in xdgmimemagicparsemagicline() in xdgmimemagic.c (CVE-2026-16118) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/glib2to a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-debuginfoto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-debugsourceto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-develto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-devel-debuginfoto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-famto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-fam-debuginfoto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-teststo a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8 - Upgrade
Upgrade
redhat/glib2-tests-debuginfoto a version that resolves this vulnerability.Fixed in 2.56.4-158.el8_6.8
Event History
Frequently Asked Questions
Which systems are covered by this advisory?
The advisory lists GLib2 packages for Red Hat Enterprise Linux for x86_64 - Extended Life Cycle Long Life. Listed packages include glib2, glib2-devel, debuginfo, debugsource, and test-related packages.
What vulnerability is addressed?
The update addresses CVE-2026-16118, a heap-based buffer overflow in xdgmime's _xdg_mime_magic_parse_magic_line() function in xdgmimemagic.c. It is categorized as a buffer overflow and rated Moderate by the advisory.