Insufficient Logging Affecting python3-tkinter package, versions <0:3.9.25-1.amzn2023.0.4


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Logging vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PYTHON3TKINTER-16067460
  • published15 Apr 2026
  • disclosed4 Mar 2026

Introduced: 4 Mar 2026

CVE-2026-2297  (opens in a new tab)
CWE-778  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-tkinter to version 0:3.9.25-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-1583.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-tkinter package and not the python3-tkinter package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1