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.
CVE-2025-0938
This medium-severity CVE scores 6.3 under NVD CVSS v3. EPSS exploit probability: 1.6%, top 18% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.3
- EG Score
- 6.3(medium)
- EG Risk
- —
- EPSS
- 71.6%
- KEV
- Not listed
Published
January 31, 2025
Last Modified
April 15, 2026
References (11)
- cna@pythonhttps://github.com/python/cpython/commit/526617ed68cde460236c973e5d0a8bad4de896ba
- cna@pythonhttps://github.com/python/cpython/commit/90e526ae67b172ed7c6c56e7edad36263b0f9403
- cna@pythonhttps://github.com/python/cpython/commit/a7084f6075c9595ba60119ce8c62f1496f50c568
- cna@pythonhttps://github.com/python/cpython/commit/b8b4b713c5f8ec0958c7ef8d29d6711889bc94ab
- cna@pythonhttps://github.com/python/cpython/commit/d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a
- cna@pythonhttps://github.com/python/cpython/commit/ff4e5c25666f63544071a6b075ae8b25c98b7a32
- cna@pythonhttps://github.com/python/cpython/issues/105704
- cna@pythonhttps://github.com/python/cpython/pull/129418
- cna@pythonhttps://mail.python.org/archives/list/[email protected]/thread/K4EUG6EKV6JYFIC24BASYOZS4M5XOQIB/
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250314-0002/
Vendor Advisories for CVE-2025-0938(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:5588Red Hat Product SecurityMedium
Red Hat Security Advisory: python3 security update
- RHSA-2025:23530Red Hat Product SecurityHigh
Red Hat Security Advisory: python39:3.9 security update
- RHSA-2025:8385Red Hat Product SecurityMedium
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python2.7-minimal (2.7.12-1ubuntu0~16.04.18+esm16) @ xenial | 2026-06-08 | ubuntu |
| ubuntu | python3.12-venv (3.12.3-1ubuntu0.5) @ noble | 2026-06-08 | ubuntu |
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.13+esm16) @ xenial | 2026-06-08 | ubuntu |
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.13+esm18) @ xenial | 2026-06-08 | ubuntu |
| ubuntu | python2.7-minimal (2.7.6-8ubuntu0.6+esm28) @ trusty | 2026-06-08 | ubuntu |
| redhat | python3-0:3.6.8-74.el8_10 | 2026-03-24 | redhat |
| redhat | python39-devel:3.9-8100020251126112422.d47b87a4 | 2025-12-18 | redhat |
| redhat | discovery/discovery-ui-rhel9:1.14.2-1748467619 | 2025-06-02 | redhat |
| redhat | python3.12-0:3.12.9-1.el9 | 2025-05-13 | redhat |
| redhat | python3.11-0:3.11.11-2.el9 | 2025-05-13 | redhat |
| redhat | python3.9-0:3.9.21-2.el9 | 2025-05-13 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2025-09382025-02-25
URL parser allowed square brackets in domain names
- Red HatRHSA-2025:6977MODERATE2025-01-31
RHSA-2025:6977 — Moderate
- Red HatRHSA-2025:7107MODERATE2025-01-31
RHSA-2025:7107 — Moderate
- Red HatRHSA-2025:7109MODERATE2025-01-31
RHSA-2025:7109 — Moderate
- UbuntuUSN-7280-1MEDIUM
Python vulnerability
- UbuntuUSN-7280-2MEDIUM
Python vulnerability
- UbuntuUSN-7280-3MEDIUM
Python 2.7 regression
- UbuntuUSN-7348-1MEDIUM
Python vulnerabilities
- UbuntuUSN-7348-2MEDIUM
Python regression
Data Freshness Timeline
(refreshed 11× in last 7d / 46× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 122 total refreshes for this CVE.
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-14 08:40 UTCOSV refresh
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:00 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 09:23 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 16:31 UTCEG score recompute▲ 6.30
- 2026-06-08 16:31 UTCVendor advisory
- 2026-06-08 16:31 UTCGHSA enrichment
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-03 20:39 UTCOSV refresh
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
Frequently asked(5)
What is CVE-2025-0938?
When was CVE-2025-0938 disclosed?
Is CVE-2025-0938 actively exploited?
What is the CVSS score of CVE-2025-0938?
How do I remediate CVE-2025-0938?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2025-0938
Is Your Infrastructure Affected by CVE-2025-0938?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.