Amazon Linux 2023 Security Advisory: ALAS2023-2026-3530
Advisory Released Date: 2026-12-04
Advisory Updated Date: 2026-12-04
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)
Affected Packages:
python3.9
Issue Correction:
Run dnf update python3.9 --releasever 2023.12.20261204 or dnf update --advisory ALAS2023-2026-3530 --releasever 2023.12.20261204 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation
aarch64:
python3-tkinter-3.9.25-1.amzn2023.0.12.aarch64
python3-idle-3.9.25-1.amzn2023.0.12.aarch64
python3-debug-3.9.25-1.amzn2023.0.12.aarch64
python3.9-debugsource-3.9.25-1.amzn2023.0.12.aarch64
python3-devel-3.9.25-1.amzn2023.0.12.aarch64
python3-3.9.25-1.amzn2023.0.12.aarch64
python3.9-debuginfo-3.9.25-1.amzn2023.0.12.aarch64
python3-test-3.9.25-1.amzn2023.0.12.aarch64
python3-libs-3.9.25-1.amzn2023.0.12.aarch64
noarch:
python-unversioned-command-3.9.25-1.amzn2023.0.12.noarch
src:
python3.9-3.9.25-1.amzn2023.0.12.src
x86_64:
python3-tkinter-3.9.25-1.amzn2023.0.12.x86_64
python3-devel-3.9.25-1.amzn2023.0.12.x86_64
python3-3.9.25-1.amzn2023.0.12.x86_64
python3-idle-3.9.25-1.amzn2023.0.12.x86_64
python3.9-debugsource-3.9.25-1.amzn2023.0.12.x86_64
python3-debug-3.9.25-1.amzn2023.0.12.x86_64
python3.9-debuginfo-3.9.25-1.amzn2023.0.12.x86_64
python3-test-3.9.25-1.amzn2023.0.12.x86_64
python3-libs-3.9.25-1.amzn2023.0.12.x86_64