Improper Handling of Length Parameter Inconsistency Affecting python3-tkinter package, versions <0:3.7.16-1.amzn2.0.20


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (23rd 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 IDSNYK-AMZN2-PYTHON3TKINTER-13729676
  • published29 Oct 2025
  • disclosed7 Oct 2025

Introduced: 7 Oct 2025

NewCVE-2025-8291  (opens in a new tab)
CWE-130  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3-tkinter to version 0:3.7.16-1.amzn2.0.20 or higher.
This issue was patched in ALAS2-2025-3041.

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:2 relevant fixed versions and status.

The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset value would not be used to locate the ZIP64 EOCD record, instead the ZIP64 EOCD record would be assumed to be the previous record in the ZIP archive. This could be abused to create ZIP archives that are handled differently by the 'zipfile' module compared to other ZIP implementations.

Remediation maintains this behavior, but checks that the offset specified in the ZIP64 EOCD Locator record matches the expected value.

CVSS Base Scores

version 3.1