Summary
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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.
Fixed packages 16
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3.14 | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-debug | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-debuginfo | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-debugsource | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-devel | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading-debug | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading-devel | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading-idle | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading-libs | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading-test | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-freethreading-tkinter | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-idle | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-libs | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-test | 0:3.14.4-2.amzn2023.0.1 |
| Amazon Linux · 2023 | python3.14-tkinter | 0:3.14.4-2.amzn2023.0.1 |
Vulnerabilities 1
-
Medium 5.7
SourcelessFileLoader does not use io.open_code()
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.
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2026-2297.html