Amazon Linux 2023 : python3.13, python3.13-devel, python3.13-freethreading (ALAS2023-2026-1600)

medium Nessus Plugin ID 311332

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

The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire. (CVE-2026-2297)

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output(). (CVE-2026-3644)

When an Expat parser with a registered ElementDeclHandler parses an inlinedocument type definition containing a deeply nested content model a C stackoverflow occurs. (CVE-2026-4224)

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.13 --releasever 2023.11.20260427' or or 'dnf update --advisory ALAS2023-2026-1600 --releasever 2023.11.20260427' to update your system.

See Also

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 311332

File Name: al2023_ALAS2023-2026-1600.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 4/30/2026

Updated: 4/30/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-3644

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:U

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

CVSS Score Source: CVE-2026-4224

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python3.13, p-cpe:/a:amazon:linux:python3.13-tkinter, p-cpe:/a:amazon:linux:python3.13-idle, p-cpe:/a:amazon:linux:python3.13-debug, p-cpe:/a:amazon:linux:python3.13-freethreading, p-cpe:/a:amazon:linux:python3.13-test, p-cpe:/a:amazon:linux:python3.13-devel, p-cpe:/a:amazon:linux:python3.13-freethreading-debug, p-cpe:/a:amazon:linux:python3.13-debugsource, p-cpe:/a:amazon:linux:python3.13-libs, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:python3.13-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 4/30/2026

Vulnerability Publication Date: 2/12/2026

Reference Information

CVE: CVE-2026-2297, CVE-2026-3644, CVE-2026-4224

IAVA: 2026-A-0142-S