CVE-2025-0938
published medium CVSS 4.0 · 6.3URL parser allowed square brackets in domain names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.9.22 · 3.10.0 to < 3.10.17 · 3.11.0 to < 3.11.12 · 3.12.0 to < 3.12.9 · 3.13.0 to < 3.13.2 · 3.14.0a1 to < 3.14.0a5 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2797 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2815 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-871 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-898 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-899 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | platform-python | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| Alpine Linux | edge | python3 | Fixed | 3.12.9-r0 | Package fix record |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | pypy3 | Advisory build | 7.3.5+dfsg-2+deb11u5 | DLA-4354-1 |
| Oracle Linux | 8 | platform-pythonaarch64 | Advisory build | 0:3.6.8-74.0.1.el8_10 | ELSA-2026-5588 |
| AlmaLinux | 8 | platform-python-debug | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| AlmaLinux | 8 | platform-python-devel | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| AlmaLinux | 8 | python3-idle | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| AlmaLinux | 8 | python3-libs | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| AlmaLinux | 8 | python3-test | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| AlmaLinux | 8 | python3-tkinter | Advisory build | 3.6.8-74.el8_10.alma.1 | ALSA-2026:5588 |
| AlmaLinux | 8 | python39 | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-Cython | Advisory build | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-Cython | Advisory build | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-PyMySQL | Advisory build | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-attrs | Advisory build | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-cffi | Advisory build | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-cffi | Advisory build | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-chardet | Advisory build | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-cryptography | Advisory build | 3.3.1-3.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-debug | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-devel | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-idle | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-idna | Advisory build | 2.10-4.module_el8.10.0+3849+a48d89aa | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-iniconfig | Advisory build | 1.1.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-libs | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-lxml | Advisory build | 4.6.5-1.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-lxml | Advisory build | 4.6.5-1.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-mod_wsgi | Advisory build | 4.7.1-7.module_el8.10.0+3989+a618fe15.1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-more-itertools | Advisory build | 8.5.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-numpy | Advisory build | 1.19.4-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-numpy | Advisory build | 1.19.4-3.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-numpy-doc | Advisory build | 1.19.4-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-numpy-f2py | Advisory build | 1.19.4-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-numpy-f2py | Advisory build | 1.19.4-3.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-packaging | Advisory build | 20.4-4.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pip | Advisory build | 20.2.4-9.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pip-wheel | Advisory build | 20.2.4-9.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pluggy | Advisory build | 0.13.1-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-ply | Advisory build | 3.11-10.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-psutil | Advisory build | 5.8.0-4.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-psutil | Advisory build | 5.8.0-4.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-psycopg2 | Advisory build | 2.8.6-3.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-psycopg2-doc | Advisory build | 2.8.6-3.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-psycopg2-tests | Advisory build | 2.8.6-3.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-py | Advisory build | 1.10.0-1.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pybind11 | Advisory build | 2.7.1-1.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pybind11 | Advisory build | 2.7.1-1.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pybind11-devel | Advisory build | 2.7.1-1.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pybind11-devel | Advisory build | 2.7.1-1.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pycparser | Advisory build | 2.20-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pyparsing | Advisory build | 2.4.7-5.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pysocks | Advisory build | 1.7.1-4.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pytest | Advisory build | 6.0.2-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pyyaml | Advisory build | 5.4.1-1.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-pyyaml | Advisory build | 5.4.1-1.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-requests | Advisory build | 2.25.0-3.module_el8.9.0+3634+fb2a896c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-rpm-macros | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-scipy | Advisory build | 1.5.4-5.module_el8.9.0+3634+fb2a896c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-setuptools | Advisory build | 50.3.2-7.module_el8.10.0+4040+9207bbc0 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-setuptools-wheel | Advisory build | 50.3.2-7.module_el8.10.0+4040+9207bbc0 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-six | Advisory build | 1.15.0-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-test | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-tkinter | Advisory build | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-toml | Advisory build | 0.10.1-5.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-urllib3 | Advisory build | 1.25.10-5.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-wcwidth | Advisory build | 0.2.5-3.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-wheel | Advisory build | 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-wheel-wheel | Advisory build | 1:0.35.1-4.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 9 | python-unversioned-command | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3 | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3-debug | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3-devel | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3-idle | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3-libs | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3-test | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3-tkinter | Advisory build | 3.9.21-2.el9 | ALSA-2025:6977 |
| AlmaLinux | 9 | python3.11 | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.11-debug | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.11-devel | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.11-idle | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.11-libs | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.11-test | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.11-tkinter | Advisory build | 3.11.11-2.el9 | ALSA-2025:7109 |
| AlmaLinux | 9 | python3.12 | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| AlmaLinux | 9 | python3.12-debug | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| AlmaLinux | 9 | python3.12-devel | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| AlmaLinux | 9 | python3.12-idle | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| AlmaLinux | 9 | python3.12-libs | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| AlmaLinux | 9 | python3.12-test | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| AlmaLinux | 9 | python3.12-tkinter | Advisory build | 3.12.9-1.el9 | ALSA-2025:7107 |
| Alpine Linux | v3.18 | python3 | Fixed | 3.11.12-r0 | Package fix record |
| Alpine Linux | v3.19 | python3 | Fixed | 3.11.12-r0 | Package fix record |
| Alpine Linux | v3.20 | python3 | Fixed | 3.12.9-r0 | Package fix record |
| Alpine Linux | v3.21 | python3 | Fixed | 3.12.9-r0 | Package fix record |
| Alpine Linux | v3.22 | python3 | Fixed | 3.12.9-r0 | Package fix record |
| Alpine Linux | v3.23 | python3 | Fixed | 3.12.9-r0 | Package fix record |
| Alpine Linux | v3.24 | python3 | Fixed | 3.12.9-r0 | Package fix record |
| Debian | bullseye | python3.9 | Advisory build | 3.9.2-1+deb11u3 | DLA-4087-1 |
| Oracle Linux | 8 | platform-pythonx86_64 | Advisory build | 0:3.6.8-74.0.1.el8_10 | ELSA-2026-5588 |
| Oracle Linux | 8 | platform-python-debugaarch64 | Advisory build | 0:3.6.8-74.0.1.el8_10 | ELSA-2026-5588 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.9.22 (affected · python)3.10.0 to < 3.10.17 (affected · python)3.11.0 to < 3.11.12 (affected · python)3.12.0 to < 3.12.9 (affected · python)3.13.0 to < 3.13.2 (affected · python)3.14.0a1 to < 3.14.0a5 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
11- https://github.com/python/cpython/commit/526617ed68cde460236c973e5d0a8bad4de896ba
- https://github.com/python/cpython/commit/90e526ae67b172ed7c6c56e7edad36263b0f9403
- https://github.com/python/cpython/commit/a7084f6075c9595ba60119ce8c62f1496f50c568
- https://github.com/python/cpython/commit/b8b4b713c5f8ec0958c7ef8d29d6711889bc94ab
- https://github.com/python/cpython/commit/d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a
- https://github.com/python/cpython/commit/ff4e5c25666f63544071a6b075ae8b25c98b7a32
- https://github.com/python/cpython/issues/105704
- https://github.com/python/cpython/pull/129418
- https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- https://mail.python.org/archives/list/[email protected]/thread/K4EUG6EKV6JYFIC24BASYOZS4M5XOQIB/
- https://security.netapp.com/advisory/ntap-20250314-0002/
Provider assertions
3PSF · cna
URL parser allowed square brackets in domain names
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a9840bdc76f2586c54d6c6e8adf082b020ada83b5ba22194246dd8e946061983
- Ingested
- 23 Sep 2026, 08:35:30 UTC
- Source record
- Official CVE record