ADVISORIES

openEuler Security Advisory

OESA-2025-2324

python-pyinstaller security update

Details

PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules.

Security Fix(es):

Due to a special entry being appended to sys.path during the bootstrap process of a PyInstaller-frozen application, and due to the bootstrap script attempting to load an optional module for bytecode decryption while this entry is still present in sys.path, an application built with PyInstaller < 6.0.0 may be tricked by an unprivileged attacker into executing arbitrary python code. The attacker can create a directory or zip archive next to the executable with a specific name format, resulting in local privilege escalation when the executable runs with elevated privileges.(CVE-2025-59042)

Affected packages

EcosystemPackageAffected versions
openEuler:24.03-LTS-SP2python-pyinstaller
All versions before 5.13.0-3.oe2403sp2 (fixed in 5.13.0-3.oe2403sp2)

References