Amazon Linux Security Advisory
ALAS2023-2026-1583
Amazon Linux 2023 - ALAS2023-2026-1583: Important priority package update for python3.9
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-4519: The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().
CVE-2026-4224: 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-2297: The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python-unversioned-command | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3 | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3-debug | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3-devel | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3-idle | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3-libs | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3-test | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3-tkinter | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3.9-debuginfo | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
| Amazon Linux:2023 | python3.9-debugsource | All versions before 3.9.25-1.amzn2023.0.4 (fixed in 3.9.25-1.amzn2023.0.4) |
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-11468
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15282
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-0672
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-0865
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1299
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2297
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4224
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4519