Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-0938 on Ubuntu — pypy3

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Distribution advisory

This page covers CVE-2025-0938 as tracked by Ubuntu, for the package pypy3. The fix is available in version 2.7.18-13ubuntu1.5+esm6; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity low, availability none.

CVSS metrics in full

The score comes from this 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

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Attack requirements: Present — the target has to be in a particular state for the attack to work.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Confidentiality impact: None.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Affected software

UBUNTU-CVE-2025-0938 is recorded against 11 packages.

  • pypy3
  • python2.7 (fixed in 2.7.18-13ubuntu1.5+esm6)
  • python3.10 (fixed in 3.10.12-1~22.04.9)
  • python3.11 (fixed in 3.11.0~rc1-1~22.04.1~esm3)
  • python3.12 (fixed in 3.12.3-1ubuntu0.5)
  • python3.4 (fixed in 3.4.3-1ubuntu1~14.04.7+esm15)
  • python3.5 (fixed in 3.5.2-2ubuntu0~16.04.13+esm16)
  • python3.6 (fixed in 3.6.9-1~18.04ubuntu1.13+esm4)
  • python3.7 (fixed in 3.7.5-2ubuntu1~18.04.2+esm5)
  • python3.8 (fixed in 3.8.10-0ubuntu1~20.04.16)
  • python3.9 (fixed in 3.9.5-3ubuntu0~20.04.1+esm4)

Timeline and source

Published on 31 January 2025 and last revised on 20 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
mail.python.org (Report)
github.com (Report)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)

Other advisories for this package

pypy3 has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2025-0938 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS 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
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-01-31
Updated 2026-08-20
Modified 2026-05-20
Fix URL N/A

Affected Packages

Software From version Fixed in
pypy3
python2.7 2.7.18-13ubuntu1.5+esm6
python3.10 3.10.12-1~22.04.9
python3.11 3.11.0~rc1-1~22.04.1~esm3
python3.12 3.12.3-1ubuntu0.5
python3.4 3.4.3-1ubuntu1~14.04.7+esm15
python3.5 3.5.2-2ubuntu0~16.04.13+esm16
python3.6 3.6.9-1~18.04ubuntu1.13+esm4
python3.7 3.7.5-2ubuntu1~18.04.2+esm5
python3.8 3.8.10-0ubuntu1~20.04.16
python3.9 3.9.5-3ubuntu0~20.04.1+esm4

Vulnerability Monitoring

Track new vulnerabilities in pypy3

UBUNTU-CVE-2025-0938 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2025