Arbitrary Command Injection Affecting python-tools package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Social Trends
EPSS
0.36% (29th 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-RHEL6-PYTHONTOOLS-15061514
  • published23 Jan 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?

There is no fixed version for RHEL:6 python-tools.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-tools package and not the python-tools package as distributed by RHEL. See How to fix? for RHEL:6 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