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 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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pymol | Fix pending | UBUNTU-CVE-2024-50636 | |
| Ubuntu 26.04 | pymol | Under investigation | UBUNTU-CVE-2024-50636 | |
| Ubuntu 25.10 | pymol | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-50636 | |
| Ubuntu 24.04 | pymol | Under investigation | UBUNTU-CVE-2024-50636 | |
| Ubuntu 22.04 | pymol | Under investigation | UBUNTU-CVE-2024-50636 | |
| Ubuntu 20.04 | pymol | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-50636 | |
| Ubuntu 18.04 | pymol | Fix pending | UBUNTU-CVE-2024-50636 | |
| Ubuntu 16.04 | pymol | Fix pending | UBUNTU-CVE-2024-50636 |
References
- https://github.com/schrodinger/pymol-open-source/issues/405
- https://github.com/yamerooo123/CVE/blob/main/CVE-2024-50636/Description.md
- https://youtu.be/SWnN_a1tUNc
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.