Arbitrary Command Injection Affecting tkinter package, versions <0:2.7.5-94.el7_9.3


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (24th 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 Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-TKINTER-15791993
  • published27 Mar 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2025-15366  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade RHEL:7 tkinter to version 0:2.7.5-94.el7_9.3 or higher.
This issue was patched in RHSA-2026:5393.

NVD Description

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

The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.

CVSS Base Scores

version 3.1