Arbitrary Command Injection Affecting platform-python package, versions <0:3.6.8-51.el8_8.13


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-RHEL8-PLATFORMPYTHON-15877965
  • published3 Apr 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:8 platform-python to version 0:3.6.8-51.el8_8.13 or higher.
This issue was patched in RHSA-2026:6008.

NVD Description

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