ADVISORIES

AlmaLinux Security Advisory

ALSA-2025:23530

Important: python39:3.9 security update

Details

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Security Fix(es):

  • python: Invalid value for OpenSSL API may cause Buffer over-read when NPN is used (CVE-2024-5642)
  • python: Virtual environment (venv) activation scripts don't quote paths (CVE-2024-9287)
  • python: Improper validation of IPv6 and IPvFuture addresses (CVE-2024-11168)
  • python: cpython: URL parser allowed square brackets in domain names (CVE-2025-0938)
  • cpython: python: CPython DecodeError Handling Vulnerability (CVE-2025-4516)
  • cpython: Tarfile extracts filtered members when errorlevel=0 (CVE-2025-4435)
  • cpython: python: Extraction filter bypass for linking outside extraction directory (CVE-2025-4330)
  • python: cpython: Arbitrary writes via tarfile realpath overflow (CVE-2025-4517)
  • cpython: python: Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory (CVE-2025-4138)
  • cpython: Python HTMLParser quadratic complexity (CVE-2025-6069)
  • cpython: python: Python zipfile End of Central Directory (EOCD) Locator record offset not checked (CVE-2025-8291)
  • python: Quadratic complexity in os.path.expandvars() with user-controlled template (CVE-2025-6075)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Affected packages

EcosystemPackageAffected versions
AlmaLinux:8python39
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-Cython
All versions before 0.29.21-5.module_el8.6.0+2780+a40f65e1 (fixed in 0.29.21-5.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-Cython
All versions before 0.29.21-5.module_el8.6.0+3248+c431e88c (fixed in 0.29.21-5.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-PyMySQL
All versions before 0.10.1-2.module_el8.6.0+2780+a40f65e1 (fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-attrs
All versions before 20.3.0-2.module_el8.6.0+2780+a40f65e1 (fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-cffi
All versions before 1.14.3-2.module_el8.6.0+2780+a40f65e1 (fixed in 1.14.3-2.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-cffi
All versions before 1.14.3-2.module_el8.6.0+3248+c431e88c (fixed in 1.14.3-2.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-chardet
All versions before 3.0.4-19.module_el8.6.0+2780+a40f65e1 (fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-cryptography
All versions before 3.3.1-3.module_el8.10.0+3765+2f9a457d (fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-debug
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-devel
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-idle
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-idna
All versions before 2.10-4.module_el8.10.0+3849+a48d89aa (fixed in 2.10-4.module_el8.10.0+3849+a48d89aa)
AlmaLinux:8python39-iniconfig
All versions before 1.1.1-2.module_el8.6.0+2780+a40f65e1 (fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-libs
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-lxml
All versions before 4.6.5-1.module_el8.6.0+2780+a40f65e1 (fixed in 4.6.5-1.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-lxml
All versions before 4.6.5-1.module_el8.6.0+3248+c431e88c (fixed in 4.6.5-1.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-mod_wsgi
All versions before 4.7.1-7.module_el8.10.0+3989+a618fe15.1 (fixed in 4.7.1-7.module_el8.10.0+3989+a618fe15.1)
AlmaLinux:8python39-more-itertools
All versions before 8.5.0-2.module_el8.6.0+2780+a40f65e1 (fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-numpy
All versions before 1.19.4-3.module_el8.6.0+2780+a40f65e1 (fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-numpy
All versions before 1.19.4-3.module_el8.6.0+3248+c431e88c (fixed in 1.19.4-3.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-numpy-doc
All versions before 1.19.4-3.module_el8.6.0+2780+a40f65e1 (fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-numpy-f2py
All versions before 1.19.4-3.module_el8.6.0+2780+a40f65e1 (fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-numpy-f2py
All versions before 1.19.4-3.module_el8.6.0+3248+c431e88c (fixed in 1.19.4-3.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-packaging
All versions before 20.4-4.module_el8.6.0+2780+a40f65e1 (fixed in 20.4-4.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pip
All versions before 20.2.4-9.module_el8.10.0+3765+2f9a457d (fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-pip-wheel
All versions before 20.2.4-9.module_el8.10.0+3765+2f9a457d (fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-pluggy
All versions before 0.13.1-3.module_el8.6.0+2780+a40f65e1 (fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-ply
All versions before 3.11-10.module_el8.6.0+2780+a40f65e1 (fixed in 3.11-10.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-psutil
All versions before 5.8.0-4.module_el8.6.0+2780+a40f65e1 (fixed in 5.8.0-4.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-psutil
All versions before 5.8.0-4.module_el8.6.0+3248+c431e88c (fixed in 5.8.0-4.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-psycopg2
All versions before 2.8.6-3.module_el8.10.0+3765+2f9a457d (fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-psycopg2-doc
All versions before 2.8.6-3.module_el8.10.0+3765+2f9a457d (fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-psycopg2-tests
All versions before 2.8.6-3.module_el8.10.0+3765+2f9a457d (fixed in 2.8.6-3.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-py
All versions before 1.10.0-1.module_el8.6.0+2780+a40f65e1 (fixed in 1.10.0-1.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pybind11
All versions before 2.7.1-1.module_el8.6.0+2780+a40f65e1 (fixed in 2.7.1-1.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pybind11
All versions before 2.7.1-1.module_el8.6.0+3248+c431e88c (fixed in 2.7.1-1.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-pybind11-devel
All versions before 2.7.1-1.module_el8.6.0+3248+c431e88c (fixed in 2.7.1-1.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-pybind11-devel
All versions before 2.7.1-1.module_el8.6.0+2780+a40f65e1 (fixed in 2.7.1-1.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pycparser
All versions before 2.20-3.module_el8.6.0+2780+a40f65e1 (fixed in 2.20-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pyparsing
All versions before 2.4.7-5.module_el8.6.0+2780+a40f65e1 (fixed in 2.4.7-5.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pysocks
All versions before 1.7.1-4.module_el8.6.0+2780+a40f65e1 (fixed in 1.7.1-4.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pytest
All versions before 6.0.2-2.module_el8.6.0+2780+a40f65e1 (fixed in 6.0.2-2.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pyyaml
All versions before 5.4.1-1.module_el8.6.0+2780+a40f65e1 (fixed in 5.4.1-1.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-pyyaml
All versions before 5.4.1-1.module_el8.6.0+3248+c431e88c (fixed in 5.4.1-1.module_el8.6.0+3248+c431e88c)
AlmaLinux:8python39-requests
All versions before 2.25.0-3.module_el8.9.0+3634+fb2a896c (fixed in 2.25.0-3.module_el8.9.0+3634+fb2a896c)
AlmaLinux:8python39-rpm-macros
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-scipy
All versions before 1.5.4-5.module_el8.9.0+3634+fb2a896c (fixed in 1.5.4-5.module_el8.9.0+3634+fb2a896c)
AlmaLinux:8python39-setuptools
All versions before 50.3.2-7.module_el8.10.0+4040+9207bbc0 (fixed in 50.3.2-7.module_el8.10.0+4040+9207bbc0)
AlmaLinux:8python39-setuptools-wheel
All versions before 50.3.2-7.module_el8.10.0+4040+9207bbc0 (fixed in 50.3.2-7.module_el8.10.0+4040+9207bbc0)
AlmaLinux:8python39-six
All versions before 1.15.0-3.module_el8.6.0+2780+a40f65e1 (fixed in 1.15.0-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-test
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-tkinter
All versions before 3.9.25-2.module_el8.10.0+4083+53cad1fb (fixed in 3.9.25-2.module_el8.10.0+4083+53cad1fb)
AlmaLinux:8python39-toml
All versions before 0.10.1-5.module_el8.6.0+2780+a40f65e1 (fixed in 0.10.1-5.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-urllib3
All versions before 1.25.10-5.module_el8.10.0+3765+2f9a457d (fixed in 1.25.10-5.module_el8.10.0+3765+2f9a457d)
AlmaLinux:8python39-wcwidth
All versions before 0.2.5-3.module_el8.6.0+2780+a40f65e1 (fixed in 0.2.5-3.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-wheel
All versions before 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 (fixed in 1:0.35.1-4.module_el8.6.0+2780+a40f65e1)
AlmaLinux:8python39-wheel-wheel
All versions before 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 (fixed in 1:0.35.1-4.module_el8.6.0+2780+a40f65e1)

References