Arbitrary Command Injection Affecting python package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.32% (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-CENTOS6-PYTHON-15061511
  • 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 Centos:6 python.

NVD Description

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