OESA-2026-4775: python3 security update
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces. Security Fix(es):
tarfile.tarfilter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process.
This is the tarfile.tarfilter counterpart of CVE-2026-7774, which covered tarfile.datafilter.(CVE-2026-114583)
Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without certificate revocation configured. Known compromised certificates will automatically be rejected regardless of the SSLContext policy configuration.(CVE-2026-115557)
socket.getaddrinfo() previously accepted null bytes within host and port parameters which can cause the values to be silently truncated.(CVE-2026-116566)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
openeuler/python3to a version that resolves this vulnerability.Fixed in 3.11.6-47.oe2403sp4
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required to exploit the archive extraction issue?
An attacker must provide a crafted tar archive that is processed with tarfile.extractall() using filter="tar". Exploitation relies on crafted link entries redirecting later archive members outside the intended extraction directory, and the resulting writes are limited by the permissions of the extracting process.
Which systems are most exposed to the archive issue?
Systems that automatically or interactively extract tar archives from untrusted sources using Python's tarfile module with the "tar" filter are exposed. The attacker does not need prior privileges, but user interaction is indicated in the supplied severity vector.
When is the SSL-related security change relevant?
It is relevant where Python's ssl module is used without certificate revocation checking configured. The update adds a denylist for known compromised certificates to provide protection in that situation.