CVE-2026-77387geopy
Medium 4.0
Follow: this CVE · geopy · geopy We alert you by email or Slack (account required).
- Priority
- 24
- CVSS 3.1
- 4.0
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 1, 2026
- Updated
- Oct 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
geopy is a geocoding library for Python. Prior to 2.5.0, geopy.Point and Point.from_string() can spend excessive CPU time due to inefficient regular-expression behavior when an application passes a long malformed coordinate string without the 256-character input limit used by the fix. Geocoder reverse methods also reach the vulnerable parsing path when called with string inputs. Repeated attacker-controlled requests can cause a denial of service, while the numeric Point constructor is unaffected. This issue is fixed in version 2.5.0.
What to do
- Apply the vendor's security update for geopy.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | geopy |
< 2.5.0 |
2.5.0 |
pip install "geopy>=2.5.0" |
| PyPI | geopy |
< 2.5.0 |
2.5.0 |
pip install "geopy>=2.5.0" |
Per OSV / GitHub Advisories (GHSA-mhvh-fq92-pfmr, PYSEC-2026-4218). Check the version in your lockfile before upgrading.
Affected products
- geopy · geopy
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-geopy-2.5.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11724-1 · Sep 8, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.