OESA-2026-4525

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-4525
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-4525.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-4525
Upstream
Published
2026-10-22T14:36:11Z
Modified
2026-10-22T14:45:08Z
Severity
  • 7.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
python3 security update
Details

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):

ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped.

This defect could lead to programs where certificate hostname verification appeared to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration.

If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability.

Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap_socket(), when server_hostname isn't supplied.(CVE-2026-19553)

Database specific
{
    "severity":  "High"
}
References

Affected packages

openEuler:22.03-LTS-SP4 / python3

Package

Name
python3
Purl
pkg:rpm/openEuler/python3&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.9.9-62.oe2203sp4

Ecosystem specific

{
    "aarch64":  [
        "python3-3.9.9-62.oe2203sp4.aarch64.rpm",
        "python3-debug-3.9.9-62.oe2203sp4.aarch64.rpm",
        "python3-debuginfo-3.9.9-62.oe2203sp4.aarch64.rpm",
        "python3-debugsource-3.9.9-62.oe2203sp4.aarch64.rpm",
        "python3-devel-3.9.9-62.oe2203sp4.aarch64.rpm",
        "python3-unversioned-command-3.9.9-62.oe2203sp4.aarch64.rpm"
    ],
    "noarch":  [
        "python3-help-3.9.9-62.oe2203sp4.noarch.rpm"
    ],
    "src":  [
        "python3-3.9.9-62.oe2203sp4.src.rpm"
    ],
    "x86_64":  [
        "python3-3.9.9-62.oe2203sp4.x86_64.rpm",
        "python3-debug-3.9.9-62.oe2203sp4.x86_64.rpm",
        "python3-debuginfo-3.9.9-62.oe2203sp4.x86_64.rpm",
        "python3-debugsource-3.9.9-62.oe2203sp4.x86_64.rpm",
        "python3-devel-3.9.9-62.oe2203sp4.x86_64.rpm",
        "python3-unversioned-command-3.9.9-62.oe2203sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-4525.json"