Vulnerability · Published Nov 11, 2024 · Assigned by mitre

CVE-2024-50636

Critical 9.8

In plain English

A critical-severity code injection in the pymol package (Ubuntu). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities).

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.2%top 30.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSpymolno fix listedUBUNTU-CVE-2024-50636
Ubuntu:24.04:LTSpymolno fix listedUBUNTU-CVE-2024-50636
Ubuntu:25.10pymolno fix listedUBUNTU-CVE-2024-50636
Ubuntu:26.04:LTSpymolno fix listedUBUNTU-CVE-2024-50636
Ubuntu:26.10pymolno fix listedUBUNTU-CVE-2024-50636

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References