CVE-2025-0938
Publication date 31 January 2025
Last updated 19 June 2026
Ubuntu priority
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| pypy3 | 26.10 stonking |
Needs evaluation
|
| 26.04 LTS resolute |
Needs evaluation
|
|
| 24.04 LTS noble |
Needs evaluation
|
|
| 22.04 LTS jammy |
Needs evaluation
|
|
| 20.04 LTS focal |
Needs evaluation
|
|
| python2.7 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy |
Fixed in 2.7.18-13ubuntu1.5+esm6
|
|
| 20.04 LTS focal |
Fixed in 2.7.18-1~20.04.7+esm7
|
|
| 18.04 LTS bionic |
Fixed in 2.7.17-1~18.04ubuntu1.13+esm11
|
|
| 16.04 LTS xenial |
Fixed in 2.7.12-1ubuntu0~16.04.18+esm16
|
|
| 14.04 LTS trusty |
Fixed in 2.7.6-8ubuntu0.6+esm28
|
|
| python3.4 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 14.04 LTS trusty |
Fixed in 3.4.3-1ubuntu1~14.04.7+esm15
|
|
| python3.5 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 16.04 LTS xenial |
Fixed in 3.5.2-2ubuntu0~16.04.13+esm16
|
|
| 14.04 LTS trusty |
Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4
|
|
| python3.6 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic |
Fixed in 3.6.9-1~18.04ubuntu1.13+esm4
|
|
| python3.7 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| 18.04 LTS bionic |
Fixed in 3.7.5-2ubuntu1~18.04.2+esm5
|
|
| python3.8 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal |
Fixed in 3.8.10-0ubuntu1~20.04.16
|
|
| 18.04 LTS bionic |
Fixed in 3.8.0-3ubuntu1~18.04.2+esm4
|
|
| python3.9 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal |
Fixed in 3.9.5-3ubuntu0~20.04.1+esm4
|
|
| python3.10 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy |
Fixed in 3.10.12-1~22.04.9
|
|
| 20.04 LTS focal | Not in release | |
| python3.11 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy |
Fixed in 3.11.0~rc1-1~22.04.1~esm3
|
|
| 20.04 LTS focal | Not in release | |
| python3.12 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble |
Fixed in 3.12.3-1ubuntu0.5
|
|
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release | |
| python3.13 | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release | |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy | Not in release | |
| 20.04 LTS focal | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
Patch details
| Package | Patch details |
|---|---|
| python3.9 | |
| python3.11 | |
| python3.12 |
|
| python3.13 |
|
Severity score breakdown
CVSS version: CVSS v4.0
Base score
6.3 · Medium
Vector: 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
References
Related Ubuntu Security Notices (USN)
- USN-7280-1
- Python vulnerability
- 20 February 2025
- USN-7348-1
- Python vulnerabilities
- 12 March 2025
- USN-7348-2
- Python regression
- 24 March 2025
- USN-7280-2
- Python vulnerability
- 22 May 2025
- USN-7280-3
- Python 2.7 regression
- 29 September 2025