RHSA-2025:10399HighCVSS 7.6

Red Hat Security Advisory: python3.9 security update

Published
July 7, 2025
Last Modified
July 30, 2026

🔗 CVE IDs covered (5)

📋 Description

CVE-2024-12718 — cpython: python: Bypass extraction filter to modify file metadata outside extraction directory CVE-2025-4138 — cpython: python: Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory CVE-2025-4330 — cpython: python: Extraction filter bypass for linking outside extraction directory CVE-2025-4435 — cpython: Tarfile extracts filtered members when errorlevel=0 CVE-2025-4517 — python: cpython: Arbitrary writes via tarfile realpath overflow

🎯 Affected products70

  • Red Hat CodeReady Linux Builder EUS (v.9.4)
  • Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python-unversioned-command-0:3.9.18-3.el9_4.8.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • python3-0:3.9.18-3.el9_4.8.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-0:3.9.18-3.el9_4.8.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-0:3.9.18-3.el9_4.8.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-0:3.9.18-3.el9_4.8.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-0:3.9.18-3.el9_4.8.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-debug-0:3.9.18-3.el9_4.8.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-debug-0:3.9.18-3.el9_4.8.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-debug-0:3.9.18-3.el9_4.8.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-debug-0:3.9.18-3.el9_4.8.s390x as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-debug-0:3.9.18-3.el9_4.8.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-devel-0:3.9.18-3.el9_4.8.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • python3-devel-0:3.9.18-3.el9_4.8.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • python3-devel-0:3.9.18-3.el9_4.8.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • python3-devel-0:3.9.18-3.el9_4.8.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • python3-devel-0:3.9.18-3.el9_4.8.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
  • python3-idle-0:3.9.18-3.el9_4.8.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-idle-0:3.9.18-3.el9_4.8.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-idle-0:3.9.18-3.el9_4.8.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-idle-0:3.9.18-3.el9_4.8.s390x as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-idle-0:3.9.18-3.el9_4.8.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • python3-libs-0:3.9.18-3.el9_4.8.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-libs-0:3.9.18-3.el9_4.8.i686 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-libs-0:3.9.18-3.el9_4.8.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-libs-0:3.9.18-3.el9_4.8.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-libs-0:3.9.18-3.el9_4.8.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v.9.4)
  • python3-test-0:3.9.18-3.el9_4.8.aarch64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
  • +40 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: Red Hat recommends upgrading to a fixed release of Python as soon as one is available. This vulnerability can be mitigated by rejecting links inside tarfiles that use relative references to the parent directory. The upstream advisory provides this example code: ''' # Avoid insecure segments in link names. for member in tar.getmembers(): if not member.islnk(): continue if os.pardir in os.path.split(member.linkname): raise OSError("Tarfile with insecure segment ('..') in linkname") # Now safe to extract members with the data filter. tar.extractall(filter="data") '''

🔗 References (8)