RHSA-2025:10602HighCVSS 7.6

Red Hat Security Advisory: python3 security update

Published
July 8, 2025
Last Modified
August 27, 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 products86

  • Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.8)
  • Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.8)
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.ppc64le as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.8)
  • platform-python-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.8)
  • platform-python-debug-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.8)
  • platform-python-devel-0:3.6.8-51.el8_8.10.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3-0:3.6.8-51.el8_8.10.src as a component of Red Hat Enterprise Linux BaseOS E4S (v.8.8)
  • python3-0:3.6.8-51.el8_8.10.src as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.8)
  • python3-0:3.6.8-51.el8_8.10.src as a component of Red Hat Enterprise Linux BaseOS TUS (v.8.8)
  • +56 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)