Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-77387 EUVD-2026-90923GHSA-mhvh-fq92-pfmrPYSEC-2026-4218

geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point

Published Oct 1, 2026 · Updated Oct 1, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 geopy No fix yet —
Debian 13 geopy No fix yet —
Debian 12 geopy No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS geopy No fix yet —
Ubuntu 16.04 LTS geopy No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-geopy 2.5.0-1.1 openSUSE-SU-2026:11724-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling superset-6.0 No fix yet —
Wolfi rolling superset-6.1 6.1.0-r13 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI geopy < 2.5.0 2.5.0 GHSA-mhvh-fq92-pfmr

Advisories 1

References