Moderate Security Update for Python 3.9: Addressing Multiple Vulnerabilities
Summary
ALSA-2025:23342: Moderate: python3.9 security update. Affects python-unversioned-command versions < 3.9.25-2.el9_7. Fixed in 3.9.25-2.el9_7. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Python is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. It supports various system calls and libraries, making it a popular choice for developers. However, recent vulnerabilities have been identified in Python 3.9, particularly affecting AlmaLinux 9, which could potentially compromise the security of applications relying on this version.
Vulnerability Detail
The vulnerabilities in Python 3.9 include an invalid value for the OpenSSL API that may cause a buffer over-read when NPN is used (CVE-2024-5642), quadratic complexity in HTMLParser (CVE-2025-6069), unchecked End of Central Directory Locator record offset in zipfile (CVE-2025-8291), and quadratic complexity in os.path.expandvars() with user-controlled templates (CVE-2025-6075). These issues can lead to denial of service or data exposure, making it crucial to address them promptly.
How To Fix
Minimum fixed version
3.9.25-2.el9_7
This is the first release that contains the fix.
sudo dnf update python-unversioned-command
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There are no specific workarounds mentioned for these vulnerabilities. The best course of action is to apply the security updates as soon as they are available.
Conclusion
The identified vulnerabilities in Python 3.9 pose significant risks to applications running on AlmaLinux 9. It is essential to apply the recommended updates to mitigate these risks and ensure the security of your software environment.
See every vulnerability recorded for python-unversioned-command →
FAQ
These vulnerabilities can lead to denial of service attacks or data exposure, affecting the integrity and availability of applications using Python 3.9.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.
The vulnerabilities specifically affect Python 3.9 on AlmaLinux 9. It is recommended to update to version 3.9.25-2.el9_7 or later.
Continuing to use the affected version poses security risks. It is advisable to update to the patched version immediately.
For more details, refer to the CVE pages listed in the related section of the vulnerability report.
Related vulnerabilities
Recent vulnerabilities recorded for python-unversioned-command.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.