Skip to main content
CVE-2025-0938VulnerabilityPublished Updated

Python2.7: The Python standard library functions urllib.parse.urlsplit and urlparse accepted domain names that

Affects python2.7Source GCVE Database

0
Compare

Not known to be exploited · CVSS 6.3 Medium · fixed in 2.7.6-8ubuntu0.6+esm28 : update python2.7 when convenient.

Data as of 24 Nov 2026, 19:43 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.7.6-8ubuntu0.6+esm28, 3.4.3-1ubuntu1~14.04.7+esm15, 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4 +13
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10pypy3pkg:deb/ubuntu/pypy3?arch=source&distro=stonkingOther threatsAffected
  • =7.3.20+dfsg-4
  • =7.3.23+dfsg-1ubuntu1
Fixed in–
Ubuntu 26.04 LTSpypy3pkg:deb/ubuntu/pypy3?arch=source&distro=resoluteOther threatsAffected
  • =7.3.20+dfsg-3
  • =7.3.20+dfsg-4
Fixed in–
Ubuntu 25.10pypy3pkg:deb/ubuntu/pypy3?arch=source&distro=questingOther threatsAffected
  • 7.3.19+dfsg-1 – 7.3.20+dfsg-3
4 affected builds
Fixed in–
Ubuntu 24.04 LTSpypy3pkg:deb/ubuntu/pypy3?arch=source&distro=nobleOther threatsAffected
  • 7.3.12+dfsg-1 – 7.3.15+dfsg-1build3
6 affected builds
Fixed in–
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threatsAffected
  • <3.12.3-1ubuntu0.5
Fixed in
  • 3.12.3-1ubuntu0.5
Ubuntu 22.04 LTSpypy3pkg:deb/ubuntu/pypy3?arch=source&distro=jammyOther threatsAffected
  • 7.3.5+dfsg-2 – 7.3.9+dfsg-1ubuntu0.1
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…