Amazon Linux 2023 Security Advisory: ALAS2023-2026-2028
Advisory Released Date: 2026-08-04
Advisory Updated Date: 2026-08-04
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. (CVE-2026-16118)
Affected Packages:
glib2
Issue Correction:
Run dnf update glib2 --releasever 2023.12.20260803 or dnf update --advisory ALAS2023-2026-2028 --releasever 2023.12.20260803 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation
aarch64:
glib2-debuginfo-2.82.2-771.amzn2023.aarch64
glib2-devel-debuginfo-2.82.2-771.amzn2023.aarch64
glib2-static-2.82.2-771.amzn2023.aarch64
glib2-2.82.2-771.amzn2023.aarch64
glib2-devel-2.82.2-771.amzn2023.aarch64
glib2-tests-2.82.2-771.amzn2023.aarch64
glib2-debugsource-2.82.2-771.amzn2023.aarch64
glib2-tests-debuginfo-2.82.2-771.amzn2023.aarch64
glib2-doc-2.82.2-771.amzn2023.aarch64
src:
glib2-2.82.2-771.amzn2023.src
x86_64:
glib2-devel-debuginfo-2.82.2-771.amzn2023.x86_64
glib2-static-2.82.2-771.amzn2023.x86_64
glib2-debuginfo-2.82.2-771.amzn2023.x86_64
glib2-debugsource-2.82.2-771.amzn2023.x86_64
glib2-2.82.2-771.amzn2023.x86_64
glib2-devel-2.82.2-771.amzn2023.x86_64
glib2-tests-2.82.2-771.amzn2023.x86_64
glib2-tests-debuginfo-2.82.2-771.amzn2023.x86_64
glib2-doc-2.82.2-771.amzn2023.x86_64