Every CVE Search/ Get API key

CVE-2024-50636

PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of...

9.8 Critical

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.25%Up 1.2 points since Nov 12, 2024
90%50%10%1%

What each source reports

CVE List Score used 9.8

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.

Record
CVE-2024-50636
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
EUVDEUVD-2024-44948 9.8

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.

Record
EUVD-2024-44948
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-wq8w-m2g8-mv57 9.8

PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of...

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.

Record
GHSA-wq8w-m2g8-mv57
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
NVD 9.8

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.

Record
CVE-2024-50636
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVUBUNTU-CVE-2024-50636 9.8

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.

Record
UBUNTU-CVE-2024-50636
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pymol
Ubuntu:16.04:LTS
All versions, plus listed versions
1.7.2.1-21.7.2.1-2.11.7.2.1-2.1build11.7.2.1-2.2
None known
pymol
Ubuntu:18.04:LTS
All versions, plus listed versions
1.8.4.0+dfsg-1build1
None known
pymol
Ubuntu:20.04:LTS
All versions, plus listed versions
2.2.0+dfsg-42.2.0+dfsg-4build12.3.0+dfsg-12.3.0+dfsg-1build1
None known
pymol
Ubuntu:22.04:LTS
All versions, plus listed versions
2.4.0+dfsg-32.4.0+dfsg-3build22.5.0+dfsg-12.5.0+dfsg-1build1
None known
pymol
Ubuntu:24.04:LTS
All versions, plus listed versions
2.5.0+dfsg-1build32.5.0+dfsg-1build42.5.0+dfsg-1build52.5.0+dfsg-1build6
None known
pymol
Ubuntu:25.10
All versions, plus listed versions
3.1.0+dfsg-13.1.0+dfsg-1build1
None known
pymol
Ubuntu:26.10
All versions, plus listed versions
3.1.0+dfsg-1build33.1.0+dfsg-1build4
None known
pymol
Ubuntu:26.04:LTS
All versions, plus listed versions
3.1.0+dfsg-1build13.1.0+dfsg-1build23.1.0+dfsg-1build3
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-50636 is a critical vulnerability (CVSS 9.8) in Schrodinger Pymol, published November 11, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.25%, the 69th percentile. No source names a fixed version.

References

MoveEnter Open