ALAS2-2026-3850


Amazon Linux 2 Security Advisory: ALAS2-2026-3850
Advisory Released Date: 2026-08-04
Advisory Updated Date: 2026-08-04
Severity: Important

Issue Overview:

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


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update glib2 or yum update --advisory ALAS2-2026-3850 to update your system.

New Packages:
aarch64:
    glib2-2.56.1-9.amzn2.0.15.aarch64
    glib2-devel-2.56.1-9.amzn2.0.15.aarch64
    glib2-fam-2.56.1-9.amzn2.0.15.aarch64
    glib2-static-2.56.1-9.amzn2.0.15.aarch64
    glib2-tests-2.56.1-9.amzn2.0.15.aarch64
    glib2-debuginfo-2.56.1-9.amzn2.0.15.aarch64

i686:
    glib2-2.56.1-9.amzn2.0.15.i686
    glib2-devel-2.56.1-9.amzn2.0.15.i686
    glib2-fam-2.56.1-9.amzn2.0.15.i686
    glib2-static-2.56.1-9.amzn2.0.15.i686
    glib2-tests-2.56.1-9.amzn2.0.15.i686
    glib2-debuginfo-2.56.1-9.amzn2.0.15.i686

noarch:
    glib2-doc-2.56.1-9.amzn2.0.15.noarch

src:
    glib2-2.56.1-9.amzn2.0.15.src

x86_64:
    glib2-2.56.1-9.amzn2.0.15.x86_64
    glib2-devel-2.56.1-9.amzn2.0.15.x86_64
    glib2-fam-2.56.1-9.amzn2.0.15.x86_64
    glib2-static-2.56.1-9.amzn2.0.15.x86_64
    glib2-tests-2.56.1-9.amzn2.0.15.x86_64
    glib2-debuginfo-2.56.1-9.amzn2.0.15.x86_64