Python for Windows may insecurely load dynamic libraries


Python for Windows contains an issue with the DLL search path, which may lead to insecurely loading a DLL called readline.pyd.

Takashi Yoshikawa of Mitsui Bussan Secure Directions reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V2 Severity:
Base Metrics 6.8 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: Partial
  • Integrity Impact: Partial
  • Availability Impact: Partial
Affected Products

Python Software Foundation
  • Python for Windows


Arbitray code may be executed with the privileges of python.exe.

[Apply a workaround]
Applying the following workaround will mitigate the effects of this issue

* Ensure that a file with the name "readline.pyd" is not in the current directory prior to executing python.exe
Vendor Information

CWE (What is CWE?)

  1. No Mapping(CWE-Other) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2015-5652

  1. JVN : JVN#49503705
  2. National Vulnerability Database (NVD) : CVE-2015-5652
Revision History

  • [2015/10/01]
      Web page was published
      References : Content was added