ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3184

Amazon Linux 2 2017.12 - ALAS2-2026-3184: medium priority package update for python3

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-1299: The email module, specifically the "BytesGenerator" class, didn't properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly folded headers in "BytesGenerator".

CVE-2026-0865: User-controlled header names and values containing newlines can allow injecting HTTP headers.

CVE-2026-0672: When using http.cookies.Morsel, user-controlled cookie values and parameters can allow injecting HTTP headers into messages. Patch rejects all control characters within cookie names, values, and parameters.

CVE-2025-15282: User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.

CVE-2025-11468: When folding a long comment in an email header containing exclusively unfoldable characters, the parenthesis would not be preserved. This could be used for injecting headers into email messages where addresses are user-controlled and not sanitized.

Affected packages

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

References