ALAS2-2026-3826


Amazon Linux 2 Security Advisory: ALAS2-2026-3826
Advisory Released Date: 2026-07-20
Advisory Updated Date: 2026-07-20
Severity: Important

Issue Overview:

When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer. (CVE-2026-11972)

http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value. (CVE-2026-6019)


Affected Packages:

python3


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python3 or yum update --advisory ALAS2-2026-3826 to update your system.

New Packages:
aarch64:
    python3-3.7.16-1.amzn2.0.28.aarch64
    python3-libs-3.7.16-1.amzn2.0.28.aarch64
    python3-devel-3.7.16-1.amzn2.0.28.aarch64
    python3-tools-3.7.16-1.amzn2.0.28.aarch64
    python3-tkinter-3.7.16-1.amzn2.0.28.aarch64
    python3-test-3.7.16-1.amzn2.0.28.aarch64
    python3-debug-3.7.16-1.amzn2.0.28.aarch64
    python3-debuginfo-3.7.16-1.amzn2.0.28.aarch64

i686:
    python3-3.7.16-1.amzn2.0.28.i686
    python3-libs-3.7.16-1.amzn2.0.28.i686
    python3-devel-3.7.16-1.amzn2.0.28.i686
    python3-tools-3.7.16-1.amzn2.0.28.i686
    python3-tkinter-3.7.16-1.amzn2.0.28.i686
    python3-test-3.7.16-1.amzn2.0.28.i686
    python3-debug-3.7.16-1.amzn2.0.28.i686
    python3-debuginfo-3.7.16-1.amzn2.0.28.i686

src:
    python3-3.7.16-1.amzn2.0.28.src

x86_64:
    python3-3.7.16-1.amzn2.0.28.x86_64
    python3-libs-3.7.16-1.amzn2.0.28.x86_64
    python3-devel-3.7.16-1.amzn2.0.28.x86_64
    python3-tools-3.7.16-1.amzn2.0.28.x86_64
    python3-tkinter-3.7.16-1.amzn2.0.28.x86_64
    python3-test-3.7.16-1.amzn2.0.28.x86_64
    python3-debug-3.7.16-1.amzn2.0.28.x86_64
    python3-debuginfo-3.7.16-1.amzn2.0.28.x86_64