ADVISORIES

Vulnerability

CVE-2025-0938

The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.

79 advisories report this vulnerability, across 15 ecosystems.

Advisories in Red Hat

  • RHBA-2025:6294

    Red Hat Bug Fix Advisory: python3.12 bug fix and enhancement update

    CVE-2024-12254CVE-2024-6232CVE-2024-9287CVE-2025-0938 Red Hat Updated 27 November 2026
  • RHSA-2025:23530

    Red Hat Security Advisory: python39:3.9 security update

    CVE-2024-11168CVE-2024-5642CVE-2024-9287CVE-2025-0938 Red Hat Updated 27 November 2026
  • RHSA-2025:6977

    Red Hat Security Advisory: python3.9 security update

    CVE-2025-0938 Red Hat Updated 26 November 2026
  • RHSA-2025:7107

    Red Hat Security Advisory: python3.12 security update

    CVE-2025-0938 Red Hat Updated 26 November 2026
  • RHSA-2025:7109

    Red Hat Security Advisory: python3.11 security update

    CVE-2025-0938 Red Hat Updated 26 November 2026
  • RHSA-2026:5588

    Red Hat Security Advisory: python3 security update

    CVE-2025-0938 Red Hat Updated 26 November 2026
  • RHVEX-CVE-2025-0938

    python: cpython: URL parser allowed square brackets in domain names

    Moderate CVE-2025-0938 Red Hat Updated 24 November 2026

References