ADVISORIES

Rocky Linux Security Advisory

RLSA-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
Rocky Linux:8PyYAML
All versions before 0:5.4.1-1.module+el8.10.0+1860+afcc1c71 (fixed in 0:5.4.1-1.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8PyYAML
All versions before 0:5.4.1-1.module+el8.9.0+1418+f0d66789 (fixed in 0:5.4.1-1.module+el8.9.0+1418+f0d66789)
Rocky Linux:8PyYAML
All versions before 0:5.4.1-1.module+el8.10.0+1582+bc278001 (fixed in 0:5.4.1-1.module+el8.10.0+1582+bc278001)
Rocky Linux:8Cython
All versions before 0:0.29.21-5.module+el8.10.0+1582+bc278001 (fixed in 0:0.29.21-5.module+el8.10.0+1582+bc278001)
Rocky Linux:8Cython
All versions before 0:0.29.21-5.module+el8.10.0+1860+afcc1c71 (fixed in 0:0.29.21-5.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8mod_wsgi
All versions before 0:4.7.1-7.module+el8.10.0+1978+d4f111ba.1 (fixed in 0:4.7.1-7.module+el8.10.0+1978+d4f111ba.1)
Rocky Linux:8mod_wsgi
All versions before 0:4.7.1-7.module+el8.10.0+1582+bc278001 (fixed in 0:4.7.1-7.module+el8.10.0+1582+bc278001)
Rocky Linux:8mod_wsgi
All versions before 0:4.7.1-7.module+el8.10.0+1860+afcc1c71 (fixed in 0:4.7.1-7.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8numpy
All versions before 0:1.19.4-3.module+el8.10.0+1582+bc278001 (fixed in 0:1.19.4-3.module+el8.10.0+1582+bc278001)
Rocky Linux:8numpy
All versions before 0:1.19.4-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.19.4-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8pybind11
All versions before 0:2.7.1-1.module+el8.9.0+1357+a3b80af7 (fixed in 0:2.7.1-1.module+el8.9.0+1357+a3b80af7)
Rocky Linux:8pytest
All versions before 0:6.0.2-2.module+el8.10.0+1860+afcc1c71 (fixed in 0:6.0.2-2.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8pytest
All versions before 0:6.0.2-2.module+el8.10.0+1582+bc278001 (fixed in 0:6.0.2-2.module+el8.10.0+1582+bc278001)
Rocky Linux:8python3x-pip
All versions before 0:20.2.4-9.module+el8.10.0+1721+e52d6351 (fixed in 0:20.2.4-9.module+el8.10.0+1721+e52d6351)
Rocky Linux:8python3x-pip
All versions before 0:20.2.4-9.module+el8.10.0+1860+afcc1c71 (fixed in 0:20.2.4-9.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python3x-pyparsing
All versions before 0:2.4.7-5.module+el8.10.0+1860+afcc1c71 (fixed in 0:2.4.7-5.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python3x-pyparsing
All versions before 0:2.4.7-5.module+el8.10.0+1582+bc278001 (fixed in 0:2.4.7-5.module+el8.10.0+1582+bc278001)
Rocky Linux:8python3x-setuptools
All versions before 0:50.3.2-7.module+el8.10.0+2057+30213a2b (fixed in 0:50.3.2-7.module+el8.10.0+2057+30213a2b)
Rocky Linux:8python3x-six
All versions before 0:1.15.0-3.module+el8.10.0+1582+bc278001 (fixed in 0:1.15.0-3.module+el8.10.0+1582+bc278001)
Rocky Linux:8python3x-six
All versions before 0:1.15.0-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.15.0-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-attrs
All versions before 0:20.3.0-2.module+el8.10.0+1582+bc278001 (fixed in 0:20.3.0-2.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-attrs
All versions before 0:20.3.0-2.module+el8.10.0+1860+afcc1c71 (fixed in 0:20.3.0-2.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-cffi
All versions before 0:1.14.3-2.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.14.3-2.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-cffi
All versions before 0:1.14.3-2.module+el8.10.0+1582+bc278001 (fixed in 0:1.14.3-2.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-chardet
All versions before 0:3.0.4-19.module+el8.10.0+1582+bc278001 (fixed in 0:3.0.4-19.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-chardet
All versions before 0:3.0.4-19.module+el8.10.0+1860+afcc1c71 (fixed in 0:3.0.4-19.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-chardet
All versions before 0:3.0.4-19.module+el8.9.0+1418+f0d66789 (fixed in 0:3.0.4-19.module+el8.9.0+1418+f0d66789)
Rocky Linux:8python-cryptography
All versions before 0:3.3.1-3.module+el8.10.0+1697+7e517775 (fixed in 0:3.3.1-3.module+el8.10.0+1697+7e517775)
Rocky Linux:8python-cryptography
All versions before 0:3.3.1-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:3.3.1-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-idna
All versions before 0:2.10-4.module+el8.10.0+1860+afcc1c71 (fixed in 0:2.10-4.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-idna
All versions before 0:2.10-4.module+el8.10.0+1809+41195054 (fixed in 0:2.10-4.module+el8.10.0+1809+41195054)
Rocky Linux:8python-iniconfig
All versions before 0:1.1.1-2.module+el8.9.0+1332+dd574197 (fixed in 0:1.1.1-2.module+el8.9.0+1332+dd574197)
Rocky Linux:8python-lxml
All versions before 0:4.6.5-1.module+el8.10.0+1582+bc278001 (fixed in 0:4.6.5-1.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-more-itertools
All versions before 0:8.5.0-2.module+el8.10.0+1582+bc278001 (fixed in 0:8.5.0-2.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-more-itertools
All versions before 0:8.5.0-2.module+el8.10.0+1860+afcc1c71 (fixed in 0:8.5.0-2.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-packaging
All versions before 0:20.4-4.module+el8.10.0+1860+afcc1c71 (fixed in 0:20.4-4.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-packaging
All versions before 0:20.4-4.module+el8.10.0+1582+bc278001 (fixed in 0:20.4-4.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-pluggy
All versions before 0:0.13.1-3.module+el8.10.0+1582+bc278001 (fixed in 0:0.13.1-3.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-pluggy
All versions before 0:0.13.1-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:0.13.1-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-ply
All versions before 0:3.11-10.module+el8.9.0+1418+f0d66789 (fixed in 0:3.11-10.module+el8.9.0+1418+f0d66789)
Rocky Linux:8python-ply
All versions before 0:3.11-10.module+el8.10.0+1582+bc278001 (fixed in 0:3.11-10.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-ply
All versions before 0:3.11-10.module+el8.10.0+1860+afcc1c71 (fixed in 0:3.11-10.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-psutil
All versions before 0:5.8.0-4.module+el8.9.0+1357+a3b80af7 (fixed in 0:5.8.0-4.module+el8.9.0+1357+a3b80af7)
Rocky Linux:8python-psycopg2
All versions before 0:2.8.6-3.module+el8.10.0+1660+b5b6f004 (fixed in 0:2.8.6-3.module+el8.10.0+1660+b5b6f004)
Rocky Linux:8python-psycopg2
All versions before 0:2.8.6-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:2.8.6-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-py
All versions before 0:1.10.0-1.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.10.0-1.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-py
All versions before 0:1.10.0-1.module+el8.10.0+1582+bc278001 (fixed in 0:1.10.0-1.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-pycparser
All versions before 0:2.20-3.module+el8.10.0+1582+bc278001 (fixed in 0:2.20-3.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-pycparser
All versions before 0:2.20-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:2.20-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-PyMySQL
All versions before 0:0.10.1-2.module+el8.10.0+1910+234ad790 (fixed in 0:0.10.1-2.module+el8.10.0+1910+234ad790)
Rocky Linux:8python-PyMySQL
All versions before 0:0.10.1-2.module+el8.10.0+1592+61442852 (fixed in 0:0.10.1-2.module+el8.10.0+1592+61442852)
Rocky Linux:8python-PyMySQL
All versions before 0:0.10.1-2.module+el8.10.0+1860+afcc1c71 (fixed in 0:0.10.1-2.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-PyMySQL
All versions before 0:0.10.1-2.module+el8.10.0+1582+bc278001 (fixed in 0:0.10.1-2.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-pysocks
All versions before 0:1.7.1-4.module+el8.9.0+1418+f0d66789 (fixed in 0:1.7.1-4.module+el8.9.0+1418+f0d66789)
Rocky Linux:8python-pysocks
All versions before 0:1.7.1-4.module+el8.10.0+1582+bc278001 (fixed in 0:1.7.1-4.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-pysocks
All versions before 0:1.7.1-4.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.7.1-4.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-requests
All versions before 0:2.25.0-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:2.25.0-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-requests
All versions before 0:2.25.0-3.module+el8.10.0+1582+bc278001 (fixed in 0:2.25.0-3.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-toml
All versions before 0:0.10.1-5.module+el8.9.0+1332+dd574197 (fixed in 0:0.10.1-5.module+el8.9.0+1332+dd574197)
Rocky Linux:8python-urllib3
All versions before 0:1.25.10-5.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.25.10-5.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-urllib3
All versions before 0:1.25.10-5.module+el8.10.0+1545+03246da9 (fixed in 0:1.25.10-5.module+el8.10.0+1545+03246da9)
Rocky Linux:8python-wcwidth
All versions before 0:0.2.5-3.module+el8.10.0+1860+afcc1c71 (fixed in 0:0.2.5-3.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8python-wcwidth
All versions before 0:0.2.5-3.module+el8.10.0+1582+bc278001 (fixed in 0:0.2.5-3.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-wheel
All versions before 1:0.35.1-4.module+el8.10.0+1582+bc278001 (fixed in 1:0.35.1-4.module+el8.10.0+1582+bc278001)
Rocky Linux:8python-wheel
All versions before 1:0.35.1-4.module+el8.10.0+1860+afcc1c71 (fixed in 1:0.35.1-4.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8scipy
All versions before 0:1.5.4-5.module+el8.10.0+1860+afcc1c71 (fixed in 0:1.5.4-5.module+el8.10.0+1860+afcc1c71)
Rocky Linux:8scipy
All versions before 0:1.5.4-5.module+el8.10.0+1582+bc278001 (fixed in 0:1.5.4-5.module+el8.10.0+1582+bc278001)

References