CVE-2026-77387
mediumgeopy is a geocoding library for Python.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/geopy/geopy/commit/5d09fa843f90ec80788b61552539c9fd3ae6c528 security-advisories@github.com
- https://github.com/geopy/geopy/issues/608 security-advisories@github.com
- https://github.com/geopy/geopy/pull/610 security-advisories@github.com
- https://github.com/geopy/geopy/releases/tag/2.5.0 security-advisories@github.com
- https://github.com/geopy/geopy/security/advisories/GHSA-mhvh-fq92-pfmr security-advisories@github.com
- https://github.com/geopy/geopy/issues/608 134c704f-9b21-4f2e-91b3-4a467353bcc0
