Amazon Linux 2023 : glib2, glib2-devel, glib2-static (ALAS2023-2026-2028)

high Nessus Plugin ID 332052

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2026-2028 advisory.

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'dnf update glib2 --releasever 2023.12.20260803' or or 'dnf update --advisory ALAS2023-2026-2028 --releasever 2023.12.20260803' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-2028.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2026-16118.html

Plugin Details

Severity: High

ID: 332052

File Name: al2023_ALAS2023-2026-2028.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 8/4/2026

Updated: 8/4/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.6

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:C

CVSS Score Source: CVE-2026-16118

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:glib2-debuginfo, p-cpe:/a:amazon:linux:glib2-debugsource, p-cpe:/a:amazon:linux:glib2-devel-debuginfo, p-cpe:/a:amazon:linux:glib2-devel, p-cpe:/a:amazon:linux:glib2-doc, p-cpe:/a:amazon:linux:glib2-static, p-cpe:/a:amazon:linux:glib2-tests-debuginfo, p-cpe:/a:amazon:linux:glib2-tests, p-cpe:/a:amazon:linux:glib2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 8/4/2026

Vulnerability Publication Date: 7/17/2026

Reference Information

CVE: CVE-2026-16118