Amazon Linux 2023 : python3, python3-devel, python3-idle (ALAS2023-2026-3530)

medium Nessus Plugin ID 393962

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2026-3530 advisory.

When tarfile or zipfile command line interface (CLI) is used to

decompress an archive, a Python script shadowing the stdlib can be

created. Then if an error occurs during decompressing the next file,

the newly created Python script is executed. This is especially true

if the created Python is called traceback.py. The problem is that

Python adds the current directory to sys.path when python -m MODULE is

run, and the archive is also decompressed in the current directory.



The fix removes sys.path[0] in gzip, tarfile and zipfile command line

interface to prevent shadowing standard library modules from extracted

files. (CVE-2026-115791)

When decompressing crafted zip files using the bzip/LZMA/Zstandard

compressions, Python could use an attacker-controlled size to

pre-allocate memory, possibly resulting in memory exhaustion. (CVE-2026-15310)

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

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

Solution

Run 'dnf update python3.9 --releasever 2023.12.20261204' or or 'dnf update --advisory ALAS2023-2026-3530 --releasever 2023.12.20261204' to update your system.

See Also

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

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

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

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

Plugin Details

Severity: Medium

ID: 393962

File Name: al2023_ALAS2023-2026-3530.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 95.96

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

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

CVSS Score Source: CVE-2026-15310

CVSS v3

Risk Factor: Medium

Base Score: 6

Temporal Score: 5.2

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

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

CVSS Score Source: CVE-2026-115791

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-115791

Vulnerability Information

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:python-unversioned-command, p-cpe:/a:amazon:linux:python3-debug, p-cpe:/a:amazon:linux:python3-devel, p-cpe:/a:amazon:linux:python3-idle, p-cpe:/a:amazon:linux:python3-libs, p-cpe:/a:amazon:linux:python3-test, p-cpe:/a:amazon:linux:python3-tkinter, p-cpe:/a:amazon:linux:python3.9-debuginfo, p-cpe:/a:amazon:linux:python3.9-debugsource, p-cpe:/a:amazon:linux:python3

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/4/2026

Vulnerability Publication Date: 8/20/2026

Reference Information

CVE: CVE-2026-115791, CVE-2026-15310

IAVA: 2026-A-0890-S