Amazon Linux 2023 : gdb, gdb-gdbserver, gdb-headless (ALAS2023-2026-3142)

high Nessus Plugin ID 351065

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-3142 advisory.

A flaw was found in GDB's STABS debug format parser. Theread_member_functions() function in gdb/stabsread.c contains a linkedlist removal bug in the code that separates destructor and non- destructormember functions of C++ classes. The bug causes the destructor entries toremain in the main function list while the list length counter isdecremented, resulting in an out-of-bounds write when the function listis copied to its final allocated array. An attacker can craft an ELFbinary with malicious .stab and .stabstr sections that triggers thisout-of-bounds write when a user opens the file in GDB and performs anysymbol-inspection operation such as setting a breakpoint. The inferiorprocess does not need to be executed. Under controlled conditions, thiswas demonstrated to achieve execution of arbitrary commands within theGDB process. (CVE-2026-13732)

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 gdb --releasever 2023.12.20260928' or or 'dnf update --advisory ALAS2023-2026-3142 --releasever 2023.12.20260928' to update your system.

See Also

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

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

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

Plugin Details

Severity: High

ID: 351065

File Name: al2023_ALAS2023-2026-3142.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 9/29/2026

Updated: 9/29/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.29

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

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

CVSS Score Source: CVE-2026-13732

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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:gdb-debuginfo, p-cpe:/a:amazon:linux:gdb-debugsource, p-cpe:/a:amazon:linux:gdb-doc, p-cpe:/a:amazon:linux:gdb-gdbserver, p-cpe:/a:amazon:linux:gdb-headless, p-cpe:/a:amazon:linux:gdb-minimal, p-cpe:/a:amazon:linux:gdb

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/29/2026

Vulnerability Publication Date: 8/31/2026

Reference Information

CVE: CVE-2026-13732