ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3281

Amazon Linux 2 2017.12 - ALAS2-2026-3281: important priority package update for python3

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-6100: Use-after-free (UAF) was possible in the lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile when a memory allocation fails with a MemoryError and the decompression instance is re-used. This scenario can be triggered if the process is under memory pressure. The fix cleans up the dangling pointer in this specific error condition.

The vulnerability is only present if the program re-uses decompressor instances across multiple decompression calls even after a MemoryError is raised during decompression. Using the helper functions to one-shot decompress data such as lzma.decompress(), bz2.decompress(), gzip.decompress(), and zlib.decompress() are not affected as a new decompressor instance is used per call. If the decompressor instance is not re-used after an error condition, this usage is similarly not vulnerable.

CVE-2026-4786: Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python3
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-debug
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-debuginfo
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-devel
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-libs
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-test
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-tkinter
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)
Amazon Linux:2python3-tools
All versions before 3.7.16-1.amzn2.0.26 (fixed in 3.7.16-1.amzn2.0.26)

References