Vulnerability · Published Oct 1, 2026 · Assigned by GitHub_M
CVE-2026-77387geopy: Regular Expression Denial of Service (ReDoS) in geopy.Point
Medium 4.0
In plain English
A medium-severity regular-expression denial of service in geopy from geopy. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | geopy | no fix listed | DEBIAN-CVE-2026-77387 |
| Debian:13 | geopy | no fix listed | DEBIAN-CVE-2026-77387 |
| Debian:14 | geopy | no fix listed | DEBIAN-CVE-2026-77387 |
| PyPI | geopy | 2.5.0 | GHSA-mhvh-fq92-pfmr |
| PyPI | geopy | 2.5.0 | PYSEC-2026-4218 |
| Ubuntu:22.04:LTS | geopy | no fix listed | UBUNTU-CVE-2026-77387 |
| Ubuntu:24.04:LTS | geopy | no fix listed | UBUNTU-CVE-2026-77387 |
| Ubuntu:26.04:LTS | geopy | no fix listed | UBUNTU-CVE-2026-77387 |
| Ubuntu:26.10 | geopy | no fix listed | UBUNTU-CVE-2026-77387 |
Affected products (as reported)
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr x_refsource_CONFIRM
- https://github.com/geopy/geopy/issues/608 x_refsource_MISC
- https://github.com/geopy/geopy/pull/610 x_refsource_MISC
- https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528 x_refsource_MISC
- https://github.com/geopy/geopy/releases/tag/2.5.0 x_refsource_MISC