Skip to content

CVE-2024-50636 PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM files. Attackers can craft a malicious .PYM file containing....

CriticalCVSS 9.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Ubuntu

Description

PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM files. Attackers can craft a malicious .PYM file containing a Python reverse shell payload and exploit the function to achieve Remote Command Execution (RCE). This vulnerability arises because PyMOL treats .PYM files as Python scripts without properly validating or restricting the commands within the script, enabling attackers to run unauthorized commands in the context of the user running the application.

Upgrade path

5 packages: 0 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/pymol(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/pymol(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/pymol(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/pymol(Ubuntu 26.10) All versions No fix listed No fix yet
schrodinger pymol = 2.5.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ubuntu/pymol(Ubuntu:22.04) All versions No fix listed
schrodinger pymol = 2.5.0 No fix listed
ubuntu/pymol(Ubuntu:24.04) All versions No fix listed
ubuntu/pymol(Ubuntu:26.04) All versions No fix listed
ubuntu/pymol(Ubuntu:26.10) All versions No fix listed

References