ALAS2-2026-3218


Amazon Linux 2 Security Advisory: ALAS2-2026-3218
Advisory Released Date: 2026-04-01
Advisory Updated Date: 2026-04-01
Severity: Medium

Issue Overview:

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 inline
document type definition containing a deeply nested content model a C stack
overflow occurs. (CVE-2026-4224)


Affected Packages:

python


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 python or yum update --advisory ALAS2-2026-3218 to update your system.

New Packages:
aarch64:
    python-2.7.18-1.amzn2.0.17.aarch64
    python-libs-2.7.18-1.amzn2.0.17.aarch64
    python-devel-2.7.18-1.amzn2.0.17.aarch64
    python-tools-2.7.18-1.amzn2.0.17.aarch64
    tkinter-2.7.18-1.amzn2.0.17.aarch64
    python-test-2.7.18-1.amzn2.0.17.aarch64
    python-debug-2.7.18-1.amzn2.0.17.aarch64
    python-debuginfo-2.7.18-1.amzn2.0.17.aarch64

i686:
    python-2.7.18-1.amzn2.0.17.i686
    python-libs-2.7.18-1.amzn2.0.17.i686
    python-devel-2.7.18-1.amzn2.0.17.i686
    python-tools-2.7.18-1.amzn2.0.17.i686
    tkinter-2.7.18-1.amzn2.0.17.i686
    python-test-2.7.18-1.amzn2.0.17.i686
    python-debug-2.7.18-1.amzn2.0.17.i686
    python-debuginfo-2.7.18-1.amzn2.0.17.i686

src:
    python-2.7.18-1.amzn2.0.17.src

x86_64:
    python-2.7.18-1.amzn2.0.17.x86_64
    python-libs-2.7.18-1.amzn2.0.17.x86_64
    python-devel-2.7.18-1.amzn2.0.17.x86_64
    python-tools-2.7.18-1.amzn2.0.17.x86_64
    tkinter-2.7.18-1.amzn2.0.17.x86_64
    python-test-2.7.18-1.amzn2.0.17.x86_64
    python-debug-2.7.18-1.amzn2.0.17.x86_64
    python-debuginfo-2.7.18-1.amzn2.0.17.x86_64