Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| geopy | geopy | < 2.5.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | geopy | No fix yet | — |
| Debian 13 | geopy | No fix yet | — |
| Debian 12 | geopy | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | geopy | No fix yet | — |
| Ubuntu 26.04 LTS | geopy | No fix yet | — |
| Ubuntu 24.04 LTS | geopy | No fix yet | — |
| Ubuntu 22.04 LTS | geopy | No fix yet | — |
| Ubuntu 20.04 LTS | geopy | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | geopy | No fix yet | — |
| Ubuntu 16.04 LTS | geopy | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-geopy | 2.5.0-1.1 | openSUSE-SU-2026:11724-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | superset-6.0 | No fix yet | — |
| Wolfi rolling | superset-6.1 | 6.1.0-r13 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | geopy | < 2.5.0 | 2.5.0 | GHSA-mhvh-fq92-pfmr |
Advisories 1
- openSUSE-SU-2026:11724-1 python313-geopy-2.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 9, 2026